Author |
Message |
Topic: JMS message getting truncated |
kingdon
Replies: 2 Views: 3550
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 10, 2003 12:24 am Subject: JMS message getting truncated |
Message.toString() is just a convenience method intended for debug etc. If you want to get the message content then you need to use the type specific accessor methods, e.g. for TextMessage you would u ... |
Topic: Syncpoint control under JMS |
kingdon
Replies: 8 Views: 9236
|
Forum: IBM MQ Java / JMS Posted: Thu Sep 18, 2003 3:55 am Subject: Syncpoint control under JMS |
The similarity you note between transacted sessions and client acknowledge is true for received messages. Client acknowledge doesn't impact sent messages though, so a client-ack session sends messages ... |
Topic: Change temporary queue from persistence to non-persistence |
kingdon
Replies: 2 Views: 2085
|
Forum: IBM MQ Java / JMS Posted: Fri Aug 29, 2003 1:50 am Subject: Change temporary queue from persistence to non-persistence |
The persistence=1 on the end of the Destination.toString() means non-persistent. The values used are those defined by Sun in the DeliveryMode interface, and it happens that they chose to use 1 for non ... |
Topic: Unable to create a WebSphere MQ specific class |
kingdon
Replies: 6 Views: 3643
|
Forum: IBM MQ Java / JMS Posted: Mon Jul 07, 2003 7:13 am Subject: Unable to create a WebSphere MQ specific class |
Hi Nimo,
It's worth differentiating between 'setting up JMS' and anything to do with JNDI. From a pure JMS perspective, JNDI is entirely optional, and only provides a convenient mechanism for stori ... |
Topic: Unable to create a WebSphere MQ specific class |
kingdon
Replies: 6 Views: 3643
|
Forum: IBM MQ Java / JMS Posted: Mon Jul 07, 2003 12:54 am Subject: Unable to create a WebSphere MQ specific class |
Hmm, the error message has got a bit mangled at some point. It should say:
"Unable to create a WebSphere Application Server specific class. The classes may not have been installed or added to the c ... |
Topic: Message driven Bean and native (non-JMS) MQ message |
kingdon
Replies: 3 Views: 3273
|
Forum: IBM MQ Java / JMS Posted: Fri Jul 04, 2003 12:45 am Subject: Message driven Bean and native (non-JMS) MQ message |
The MQ format value for string format is
"MQSTR "
(that's 3 spaces at the end), not "MQ_STR". If you update the sending application to use the correct value (best to reference t ... |
Topic: Doing a GET and a PUT within one transaction |
kingdon
Replies: 10 Views: 8247
|
Forum: IBM MQ Java / JMS Posted: Thu Jun 12, 2003 12:49 am Subject: Doing a GET and a PUT within one transaction |
I think you've headed off down a blind alley here. Let's see if we can simplify a little.
First, the use of the begin call is very unlikely to be what you are after. It's purpose is solely for cont ... |
Topic: Is there a way to restrict the port in Java MQ client? |
kingdon
Replies: 7 Views: 5385
|
Forum: IBM MQ Java / JMS Posted: Wed May 28, 2003 2:08 am Subject: Is there a way to restrict the port in Java MQ client? |
I think that support for this shipped in MQ5.3 CSD3, but I don't have a copy to hand to check. The support introduces the concept of a localAddress string that defines the local IP address and a range ... |
Topic: Trouble w\JMSMessageID, JMSCorrelationID & message sele |
kingdon
Replies: 15 Views: 22865
|
Forum: IBM MQ Java / JMS Posted: Wed May 14, 2003 11:50 am Subject: Trouble w\JMSMessageID, JMSCorrelationID & message sele |
Hi,
Posting the test code used for the product isn't something I'm allowed to do, but I've created a simple example program that demonstrates three of the common use cases for JMSCorrelationID. I b ... |
Topic: XA JMS and MQ Base java |
kingdon
Replies: 3 Views: 3188
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 29, 2003 11:18 pm Subject: XA JMS and MQ Base java |
You can't use MQ as the transaction coordinator for work done via the JMS API, regardless of platform. XA support for JMS requires an external J2EE transaction coordinator such as WebSphere.
Chapte ... |
Topic: XA Transaction manager available in MQSeries? |
kingdon
Replies: 4 Views: 3031
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 29, 2003 11:13 pm Subject: XA Transaction manager available in MQSeries? |
Yes, it can, but you need to include some caveats. The most important of these in the context of the original question is that you can't use MQ as the transaction manager to control work done via the ... |
Topic: Trouble w\JMSMessageID, JMSCorrelationID & message sele |
kingdon
Replies: 15 Views: 22865
|
Forum: IBM MQ Java / JMS Posted: Thu Apr 24, 2003 4:17 am Subject: Trouble w\JMSMessageID, JMSCorrelationID & message sele |
This seems to crop up at regular intervals, but I have never been able to reproduce any problems with the MQJMS implementation. There are however, plenty of places where you can trip up in the applica ... |
Topic: Messages being delivered twice? |
kingdon
Replies: 4 Views: 3713
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 22, 2003 11:29 pm Subject: Messages being delivered twice? |
The simplest explanation would be that there are multiple messages being put to the queue with the same messageId. This is possible if the messages originate from a non-JMS application.
Regards,
J ... |
Topic: Transactions with MQSeries Base for Java and Websphere |
kingdon
Replies: 1 Views: 1825
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 02, 2003 11:13 pm Subject: Transactions with MQSeries Base for Java and Websphere |
The MQSeries base Java classes aren't integrated with WAS for XA transactions. The problem is getting the XAResource registered with the transaction coordinator. You could probably do this by writing ... |
Topic: Architecture query: JMS calls in a stateless session bean .. |
kingdon
Replies: 8 Views: 6040
|
Forum: IBM MQ Java / JMS Posted: Wed Apr 02, 2003 11:07 pm Subject: Architecture query: JMS calls in a stateless session bean .. |
Neil is correct - the ASF facilities described in chapter 8 of the JMS spec' deal only with incoming messages. There's nothing there to help with sending messages on the outbound leg.
My take on Ne ... |