Author |
Message |
Topic: How to print out an entire JMS message |
Long John Silver
Replies: 9 Views: 21117
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 16, 2010 7:23 am Subject: How to print out an entire JMS message |
The question to ask is what aspects of the header are important to you - and what it will be processed for.
Keep in mind as well the order and the format of the fields may change in the output be ... |
Topic: How to print out an entire JMS message |
Long John Silver
Replies: 9 Views: 21117
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 15, 2010 7:31 am Subject: How to print out an entire JMS message |
Could you clarify in what why the output is 'partial' as the output above is the full header, and the full payload of the message?
Hi canalis,
I receive a ByteMessage
Iwas doing just:
logg ... |
Topic: How to print out an entire JMS message |
Long John Silver
Replies: 9 Views: 21117
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 15, 2010 7:16 am Subject: How to print out an entire JMS message |
Your content info says somewhere mime/text/xml...
BytesMessage because you may have a multipart message with binary content. However you could also try and transform the bytes into text allowing for ... |
Topic: How to print out an entire JMS message |
Long John Silver
Replies: 9 Views: 21117
|
Forum: IBM MQ Java / JMS Posted: Tue Jun 15, 2010 1:04 am Subject: How to print out an entire JMS message |
Thank you all.
My messages are of type BytesMessage.
I confirm that with WMQ 7 when I log the message trough the toString() method I get the full header and only the partial body as here:
J ... |
Topic: How to print out an entire JMS message |
Long John Silver
Replies: 9 Views: 21117
|
Forum: IBM MQ Java / JMS Posted: Mon Jun 14, 2010 2:44 am Subject: How to print out an entire JMS message |
Hi all,
Maybe a newbye question.
In my application, for debug purposes, I have something like this:
logger.dedub(jmsMessage.toString());
Actually whatever is the message si ... |
Topic: XA with JMS and WMQ as coordinator in a Java SE environment |
Long John Silver
Replies: 8 Views: 29515
|
Forum: Multiphase Commit Posted: Thu May 13, 2010 1:08 am Subject: XA with JMS and WMQ as coordinator in a Java SE environment |
Hi all,
You are both correct
When we wrote the application we did not have XA requirements so we underestimated the problem writing everything with the JMS paradigm (perfectly legal in a ... |
Topic: XA with JMS and WMQ as coordinator in a Java SE environment |
Long John Silver
Replies: 8 Views: 29515
|
Forum: Multiphase Commit Posted: Wed May 12, 2010 8:45 am Subject: Re: XA with JMS and WMQ as coordinator in a Java SE environm |
When a queue manager is the co-ordinator, you need access to the MQBEGIN call (C language) or MQQueueManager.begin() method (Java language). In a JMS app you have neither of these.
So I think you ... |
Topic: XA with JMS and WMQ as coordinator in a Java SE environment |
Long John Silver
Replies: 8 Views: 29515
|
Forum: Multiphase Commit Posted: Wed May 12, 2010 7:39 am Subject: XA with JMS and WMQ as coordinator in a Java SE environment |
Hi all,
It's my first post here, so be patient
I need to perform an XA transaction between WMQ 7 and Oracle 10G into an application which uses the JMS libraries.
The only example I found wit ... |
Topic: Hi to all |
Long John Silver
Replies: 7 Views: 6690
|
Forum: General Discussion Posted: Wed May 12, 2010 7:38 am Subject: Hi to all |
Hi,
I'm new to this forum too and I need one post to post a link
Bye |