on 08-03-2009 2:14 PM
Hi frnds,
I am working on File to JMS Scenario, I want to connect to MQ at mapping level,i need to set the value of MQMD MSG id.
anyone tried??
regards,
Raj
Hi,
i never heared of something like that being realized. Maybe not doable... because you would need to connect to MQ during the mapping phase. But therefore an adapter (comm. channel) is needed which may not be available at this process stage. Java only may not be sufficient, because of missing JMS libraries which are deployed for the comm. channel only.
So maybe a BPM may help you here or an expended process which fetches the message => changes the MS ID => gives it back to MQ => another Comm. channel fetches it again => main process
Regards,
Kai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should be able to do this using communication channel accessor classes to do this or you could write your own JMS calls, but the first method is easier as far resolving JMS drivers, not hardcoding user ID/passwords etc. However, if you can explain a little bit more on what you are trying to, I could provide more help.
When you say you are trying to set the MQMD message ID to some constant, what are you exactly trying to do. If you are trying to write entries in the message queue using mapping, it is strongly not suggested to do so. You don't want to deal with any persistance during message mapping mapping could get executed more than once, causing inconsistencies.
KK
I tried using JAVA Mapping,but it is giving linkage error...I think its not possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Acording to my experience it may possible.
for your referrence sample code try this
http://www.coderanch.com/t/77875/Websphere/Help-With-Simple-Java-MQ
http://www.coderanch.com/t/74447/Websphere/Connecting-MQ-Series-from-java
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.