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-5838

JMSMessageToObject fails to set Correlation-ID when passed as inbound property

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

Details

  • Type: Patch submission Patch submission
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.1.2
  • Fix Version/s: 3.1.4 (EE only), 3.2.2 (EE only)
  • Component/s: Transport: JMS
  • Labels:
    • correlationid
    • jms
  • User impact:
    High
  • Similar Issues:
    None
  • Effort:
    XS

Description

The jms: object-to-jmsmessage-transformer fails to set the correlation ID if it is contained in the inbound scope instead of the outbound scope (which probably is when the correlation ID has been set in a previous service).

The class org.mule.transport.jms.transformers. AbstractJmsTransformer iterates through all outbound properties and sets the correlationID when it reaches MULE_CORRELATION_ID_PROPERTY. The correlation ID doesn´t necessarily have to be defined as outbound property (which can also be seen in org.mule. DefaultMuleMessage#getCorrelationId()). I´ll attach a suggestion for a fix of this bug.

As temporary workaround one can add the correlation ID to the outbound scope using the following message-property-transformer:
<message-properties-transformer scope="outbound">
<add-message-property key="MULE_CORRELATION_ID" value="#[mule:message.correlationId]" />
</message-properties-transformer>

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Java Source File
    AbstractJmsTransformer.java
    19/Oct/11 07:57 AM
    7 kB
    Tarik Osman
  2. Text File
    AbstractJmsTransformer.patch
    19/Oct/11 07:57 AM
    2 kB
    Tarik Osman
  3. Hide
    Zip Archive
    testcase-5838.zip
    04/Nov/11 08:37 AM
    2 kB
    Tarik Osman
    1. File
      META-INF/MANIFEST.MF 0.1 kB
    2. XML File
      test/resources/integration/jms-5838.xml 3 kB
    3. XML File
      test/resources/.../connector-jms-5838.xml 1 kB
    4. Java Source File
      test/java/.../Jms5838TestCase.java 1 kB
    Download Zip
    Show
    Zip Archive
    testcase-5838.zip
    04/Nov/11 08:37 AM
    2 kB
    Tarik Osman

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Tarik Osman made changes - 19/Oct/11 07:57 AM
Field Original Value New Value
Attachment AbstractJmsTransformer.java [ 14405 ]
Attachment AbstractJmsTransformer.patch [ 14406 ]
Daniel Feist made changes - 03/Nov/11 11:10 AM
Issue Type Bug [ 1 ] Patch submission [ 5 ]
Tarik Osman made changes - 04/Nov/11 08:37 AM
Attachment testcase-5838.zip [ 14510 ]
Mike Schilling made changes - 10/Nov/11 11:03 AM
Priority To be reviewed [ 6 ] Critical [ 2 ]
Daniel Feist made changes - 18/Nov/11 10:43 AM
Fix Version/s New Backlog [ 11111 ]
Daniel Feist made changes - 30/Nov/11 02:21 PM
Effort XS
Stephen Fenech made changes - 22/Jan/12 12:47 AM
Assignee Stephen Fenech [ stephenfenech ]
Stephen Fenech made changes - 07/Feb/12 12:59 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Pablo Kraan made changes - 15/Feb/12 08:45 AM
Status Closed [ 6 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Pablo Kraan made changes - 15/Feb/12 08:45 AM
Resolution Fixed [ 1 ]
Fix Version/s New Backlog [ 11111 ]
Fix Version/s 3.2.2 (EE only) [ 11105 ]
Fix Version/s 3.1.4 (EE only) [ 11079 ]
Status Reopened [ 4 ] Closed [ 6 ]

People

  • Assignee:
    Stephen Fenech
    Reporter:
    Tarik Osman
Vote (1)
Watch (3)

Dates

  • Created:
    19/Oct/11 07:55 AM
    Updated:
    15/Feb/12 08:45 AM
    Resolved:
    15/Feb/12 08:45 AM

Time Tracking

Estimated:
2h
Original Estimate - 2 hours
Remaining:
2h
Remaining Estimate - 2 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.