|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Need help setting Message Format as MQSTR |
« View previous topic :: View next topic » |
Author |
Message
|
sdkal |
Posted: Sun Dec 28, 2014 8:10 pm Post subject: Need help setting Message Format as MQSTR |
|
|
Novice
Joined: 20 Sep 2011 Posts: 10
|
I am posting messages from Oracle Service Bus 11g to Websphere MQ 7.1, over JMS Bridge. WMB reads messages from MQ and process them further. I have a JNDI binding file configured, Queue Destination - TC=1.
When I post a message to MQ, I am told there is an issue with message, as Message Format is not set to MQSTR, rather it is blank. Given below is message header
[ 564 bytes] Message Descriptor (MQMD)
Report :00000000
Message Type :8 (Datagram)
Format :' '
Priority :4
Persistence :1 (Persistent)
'
Error is ==> Node '2110' received a message, but a warning was raised from the MQGET operation. MQRC={1}
I have checked all possible values to set from MQExplorer in binding file. Please advice, how I can configure Format to be sent as MQSTR, instead of blank. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Dec 29, 2014 5:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Very easy. Change your message type. You are sending a JMS BytesMessage or an unqualified javax.jms.Message. Use a TextMessage!
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sdkal |
Posted: Mon Dec 29, 2014 4:01 pm Post subject: |
|
|
Novice
Joined: 20 Sep 2011 Posts: 10
|
Please let me know, how I can set this value from MQ Explorer. Also, let me know how this is listed in Binding file, that what Key-Value pair should I look for? |
|
Back to top |
|
 |
sdkal |
Posted: Mon Dec 29, 2014 6:58 pm Post subject: |
|
|
Novice
Joined: 20 Sep 2011 Posts: 10
|
Thanks for you help, found the issue. I had to change the way the message is sent to MQ. Changed it to Text. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|