History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MULE-2836
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Travis Carlson
Reporter: Konrad Jelen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Mule

BPM originating message responses are not routed properly

Created: 22/Dec/07 06:31 PM   Updated: 08/Apr/08 01:10 PM
Component/s: Transport: BPM / BPEL
Affects Version/s: 2.0.0-RC1
Fix Version/s: 2.0.1

Time Tracking:
Original Estimate: 1 day
Original Estimate - 1 day
Remaining Estimate: 1 day
Remaining Estimate - 1 day
Time Spent: Not Specified
Remaining Estimate - 1 day

File Attachments: 1. Text File ProcessConnector.java.patch (18 kb)

Environment: mule standalone server, linux 2.6.22

Labels:
User impact: Medium


 Description  « Hide
while sending mule event to http endpoint, resulting message cannot be routed back to bpm, because it does not contain correct headers (properties) such as - processId, processType and so on. This makes calling REST and simple http services from bpm impossible. for now, i have temporarily fixed problem by applying custom message properties transformer, able to rename properties names to contain MuleConstants.MULE_PREFIX (e.g. processID -> MULE_PROCESS_ID , processType -> MULE_PROCESS_TYPE). this way http connector can cache these properties and restore them properly for the outgoing message. then use of reverse transformer ( MULE_PROCESS_ID -> processId, MULE_PROCESS_TYPE -> processType) allows for the message to be recognized and consumed properly by the process connector.

the issue may be easily fixed by renaming mule bpm constants, like process type property and others to contain MuleConstants.MULE_PREFIX. I didn't try to route jbpm messages over soap transport, but i expect similar problem with properties



 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Konrad Jelen - 22/Dec/07 07:34 PM
modification to the bpm ProcessConnector allowing messages to be routed correctly and message properties generated by connector to be processed correctly

Konrad Jelen - 08/Jan/08 10:39 AM
hi, this issue of course (as all i have reported) affect all released versions of mule. will the patch i have supplied be applied with new 1.4.4 snapshot?

Travis Carlson - 08/Apr/08 01:10 PM
Applied patch in r11541, thanks Konrad!