on 03-19-2014 4:13 AM
Hi Experts,
I am using JMS receiver adapter and want to send the filename which I am preparing in my Mapping using UDF to DCJMSReplyTo attribute in the MQ Header (MQRFH2).
I have tried a lot of options including setting ASMA properties and sending the value in the DCJMSReplyTo attribute but the issue is this attribute only takes a Queue name.
How to set this attribute in IBM MQ Series? (Reply To Queue) using JMS Adapter attribute.
Please let me know the solution.
Thanks,
Chandar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Chandar,
As per JMS specification and JMS API, the value of the header field JMSReplyTo (that is populated from the adapter-specific message attribute DCJMSReplyTo) can be either null, or contain JMS reply-to destination name, where destination is either JMS queue or topic. Implementation of JMS Provider in IBM WebSphere reuses this principle - thus, you should consider existing queue/topic name as a valid value when filling DCJMSReplyTo from your UDF, and not a file name.
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes DCJMSReplyTo is used to hold the queue name in message header. Just curious to know why you want to store the file name in a JMS message ??
Normally we get the requirement that we want to decide the queue name dynamically.
Check this.It has the solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.