JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-4333

idempotent-receiver-router does not allow custom object store in XML configuration

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.2.1
  • Fix Version/s: 3.2.0
  • Component/s: Core: Configuration
  • Labels:
    None
  • User impact:
    Medium
  • Effort points:
    0.5
  • Affects Docs:
    Yes
  • Similar Issues:
    None

Description

Currently, the idempotent-receiver-router XML element allows only a fixed set of object stores to be configured: in-memory-store and simple-text-file-store. You cannot, however, configure a custom obejct store.

Allow the following config:

<idempotent-receiver-router idExpression="#[header:Message-Id]">
    <custom-object-store ref="xyz"/>
or
    <custom-object-store class="xyz"/>
<idempotent-receiver-router>

As workaround you can use the custom-inbound-router element and configure it though spring properties like this:

<custom-inbound-router class="org.mule.routing.inbound.IdempotentReceiver">
    <spring:property name="idExpression" value="#[header:Message-Id]"/>
    <spring:property name="store" ref="DatabaseObjectStore"/>
</custom-inbound-router>

(DatabaseObjectStore is a plain spring:bean in the config)

Issue Links

blocks

New Feature - A new feature of the product, which has yet to be developed. MULE-5390 Provide an ehcache object store

  • To be reviewed - The priority for new issues filed by users
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Dirk Olmes added a comment - 25/Jan/11 08:41 AM

The idempotent-message-filter available in Mule 3 suffers from the same limitation.

Show
Dirk Olmes added a comment - 25/Jan/11 08:41 AM The idempotent-message-filter available in Mule 3 suffers from the same limitation.
Hide
Permalink
Dirk Olmes added a comment - 20/Apr/11 05:15 AM

Added a custom-object-store element in the abstract-object-store substitution group. This means that idempotent-message-filter and idempotent-receiver-router can configure a custom object store now.

3.x: http://fisheye.codehaus.org/changelog/mule/?cs=21704

Show
Dirk Olmes added a comment - 20/Apr/11 05:15 AM Added a custom-object-store element in the abstract-object-store substitution group. This means that idempotent-message-filter and idempotent-receiver-router can configure a custom object store now. 3.x: http://fisheye.codehaus.org/changelog/mule/?cs=21704
Hide
Permalink
Dirk Olmes added a comment - 20/Apr/11 05:16 AM

Adding a -ref element to an ObjectStore configured as a Spring bean is out of scope for now as it requires quite a bit of work on the BDPs. If required, open a new JIRA.

Show
Dirk Olmes added a comment - 20/Apr/11 05:16 AM Adding a -ref element to an ObjectStore configured as a Spring bean is out of scope for now as it requires quite a bit of work on the BDPs. If required, open a new JIRA.

People

  • Assignee:
    Dirk Olmes
    Reporter:
    Dirk Olmes
Vote (0)
Watch (2)

Dates

  • Created:
    24/Apr/09 10:17 AM
    Updated:
    20/Apr/11 05:16 AM
    Resolved:
    20/Apr/11 05:16 AM

Time Tracking

Estimated:
5h
Original Estimate - 5 hours
Remaining:
5h
Remaining Estimate - 5 hours
Logged:
Not Specified
Time Spent - Not Specified

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.