Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with setting MQ Message ID when putting MQ Messages

591864Jun 18 2008 — edited Jun 18 2008
Hi
I have a problem with setting a MQ Message ID when putting messages to the MQ Server.
I have a BPEL flow that does a simple Put operation to a Queue on my MQ Server. I want to dynamically give that message a MQ Message ID that I have generated on my own. I try to do this by instanciating a header variable named 'header' and then setting the message id in this way:
<copy>
<from variable="myMQMessageId"/>
<to variable="header" part="outboundHeader" query="/ns2:MQOutboundHeaderAndProperties/ns2:MQOutboundHeader/ns2:MsgID"/>
</copy>

...but it doesn't seem to work! When I look at the message via MQ Explorer a get another message id that seems to be generated by the MQ Server (or perhaps the MQ adapter).

Has anyone else excperienced this?

In the same header variable I am able to set other header attributes like QueueName, etc and that works.

Is there some other attribute that I must set in order to get the adapter to accept my own message id.

Thankful for help

//Kalle Viklund
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2008
Added on Jun 18 2008
1 comment
876 views