Author |
Message |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Mon Feb 21, 2011 12:05 am Subject: Send RFH2 message from JMS Example (with usr tags) |
Hi, fjb_saper!
I have changed the constant according your recommendation:
((JmsDestination)outQueue).setBooleanProperty(WMQConstants.WMQ_MQMD_WRITE_ENABLED, true); ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 8:16 am Subject: Send RFH2 message from JMS Example (with usr tags) |
mqjeff, Vitor, thanks a lot!
I would like to take a pause in our discussion and try locating the examples in earlier posts.
Thanks all of you for your help! |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 7:52 am Subject: Send RFH2 message from JMS Example (with usr tags) |
Hi gentleman again! +)
First of all thank you very much for your help and assistance.
As I could understand you there are no problem to implement the message with RHF2 header using native java met ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 7:25 am Subject: Send RFH2 message from JMS Example (with usr tags) |
My code:
outQueue = queueSession.createQueue(channelProperties.getMqOut());
((JmsDestination)outQueue).setBooleanProperty(WMQConstants.WMQ_MQMD_WRIT ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 6:44 am Subject: Send RFH2 message from JMS Example (with usr tags) |
But since I get no MQHRF2 Message, and simply MQSTR
That is to send a message in a format RFH2 from JAVA to use JMS not.
If I found on Google just one example of the correct formation RFH2 tagged ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 5:52 am Subject: Send simple RFH2 message from JMS |
Then please give me a simple example of the formation of a very simple RFH2 message. |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 4:36 am Subject: Send RFH2 message from JMS Example (with usr tags) |
But IBM's documentation there is a picture which shows how to set the properties of "usr".
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj254 ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 3:36 am Subject: Send RFH2 message from JMS Example (with usr tags) |
The same problem with BytesMessage
BytesMessage outMessage = queueSession.createBytesMessage();
outMes ... |
Topic: Send RFH2 message from JMS Example (with usr tags) |
espin
Replies: 24 Views: 35026
|
Forum: IBM MQ Java / JMS Posted: Fri Feb 18, 2011 12:20 am Subject: Send RFH2 message from JMS Example (with usr tags) |
Hi friends, help me please.
I send RFH2 message from JMS:
TextMessage outMessage = queueSession.createTextMessage();
outMessa ... |