Author |
Message |
Topic: Can I set JMSXUserID in Code? |
briancop
Replies: 8 Views: 14115
|
Forum: IBM MQ Java / JMS Posted: Wed Jun 21, 2006 4:43 am Subject: Can I set JMSXUserID in Code? |
It is not sufficient to have always the same user id while the connection lasts (same as program time life) !!!
Your connection doesn't have to have the same lifetime as your program. There is no ... |
Topic: Where should XMS postings go? |
briancop
Replies: 1 Views: 2513
|
Forum: General Discussion Posted: Wed Jun 21, 2006 4:28 am Subject: Where should XMS postings go? |
This question came up in http://www.mqseries.net/phpBB2/viewtopic.php?t=30202 and raises the general issue. With XMS (C/C++ in Supportpac IA94 and .NET in Supportpac IA9H) becoming a more widely-adop ... |
Topic: JMS, sending a message & setting the JMSTimestamp |
briancop
Replies: 10 Views: 15438
|
Forum: IBM MQ Java / JMS Posted: Mon May 22, 2006 2:10 am Subject: JMS, sending a message & setting the JMSTimestamp |
A JMS message producer can be configured to disable message timestamping (typically to save the overhead of generating them). This is a hint to a JMS provider which it can choose to accept or ignore, ... |
Topic: Topic performance and unsubscribe durable subscriptions |
briancop
Replies: 10 Views: 7823
|
Forum: IBM MQ Java / JMS Posted: Wed May 10, 2006 4:30 am Subject: Topic performance and unsubscribe durable subscriptions |
Oh, by the way, Jeff's comment about using a separate queue for each subscriber is even more important when using selectors, since it will greatly reduce the queue depths involved. |
Topic: Topic performance and unsubscribe durable subscriptions |
briancop
Replies: 10 Views: 7823
|
Forum: IBM MQ Java / JMS Posted: Wed May 10, 2006 4:29 am Subject: Topic performance and unsubscribe durable subscriptions |
And what do the selectors look like? Unless they are simple selection criteria using MsgId and CorrelId, then the JMS implementation will be matching messages to the selectors within the client proce ... |
Topic: WebSphere MQ and WAS 5.1.19 Queue Connection Factory |
briancop
Replies: 7 Views: 9329
|
Forum: IBM MQ Java / JMS Posted: Wed May 10, 2006 4:19 am Subject: WebSphere MQ and WAS 5.1.19 Queue Connection Factory |
On the question over 33 physical connections, JMS may need to create more than one physical connections to the queue manager for a single JMS Connection object. MQ connections are more equivalent to ... |
Topic: Setting and Getting the JMS Message ID's |
briancop
Replies: 5 Views: 5498
|
Forum: IBM MQ Java / JMS Posted: Thu May 04, 2006 8:17 am Subject: Setting and Getting the JMS Message ID's |
The JMS API lets you set certain fields of a message, including message id, which wll be overwritten by the JMS provider (in this case MQ) when the message is sent, so there is little point in ever se ... |
Topic: getting bytes ans Codepage of a Textmessage |
briancop
Replies: 5 Views: 6869
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 25, 2006 11:37 pm Subject: getting bytes ans Codepage of a Textmessage |
If using Java you have 2 choices for MQ API - JMS or MQ Classes for Java. From the little we've seen of your requirements JMS is probably the right choice, but if you really need to get in and deal d ... |
Topic: Access <psc> folder from JMS |
briancop
Replies: 5 Views: 5089
|
Forum: IBM MQ Java / JMS Posted: Tue Apr 25, 2006 11:22 pm Subject: Access <psc> folder from JMS |
The JMS code does parse the RFH2, but in doing so it extracts the info it understands and presents it via the JMS API as header fields and properties, and ignores anything it doesn't understand. So i ... |
Topic: No tags in StreamMessage |
briancop
Replies: 2 Views: 2983
|
Forum: IBM MQ Java / JMS Posted: Thu Apr 20, 2006 12:23 am Subject: No tags in StreamMessage |
It looks to me like you don't want to use StreamMessage. The idea of a StreamMessage is that it contains a sequence of formatted elements, each of which is identified as having a particular type. e. ... |
Topic: JMS Message Type |
briancop
Replies: 4 Views: 5891
|
Forum: IBM MQ Java / JMS Posted: Thu Apr 13, 2006 1:53 am Subject: JMS Message Type |
The normal JMS->JMS messaging behaviour over WebSphere MQ is that all messages contain an RFH2, which along with lots of other info contains a property indicating which of the 5 (6 if you include n ... |
Topic: Question on onMessage() |
briancop
Replies: 4 Views: 6009
|
Forum: IBM MQ Java / JMS Posted: Thu Mar 30, 2006 8:22 am Subject: Question on onMessage() |
Sending some kind of property/semaphore to the main thread to notify it of a problem should be ok. Alternatively, can you store a reference to the session in whatever object you have used to implemen ... |
Topic: JMS support for CCSID 1145 |
briancop
Replies: 8 Views: 9001
|
Forum: IBM MQ Java / JMS Posted: Thu Mar 30, 2006 12:51 am Subject: JMS support for CCSID 1145 |
I think it might be that we need the international or multi-lingual version of the JRE (JVM).
Looks like you're right then |
Topic: Question on onMessage() |
briancop
Replies: 4 Views: 6009
|
Forum: IBM MQ Java / JMS Posted: Thu Mar 30, 2006 12:10 am Subject: Question on onMessage() |
I think you have a couple of choices:
Use a transacted session (this just means that the MQ/JMS work is transacted, not that you have 2-phase commit distributed transactions). If you get a message i ... |
Topic: JMS support for CCSID 1145 |
briancop
Replies: 8 Views: 9001
|
Forum: IBM MQ Java / JMS Posted: Wed Mar 29, 2006 11:57 pm Subject: JMS support for CCSID 1145 |
which JRE are you using? With JMS (as with other apps), which conversions are possible is determined by the conversion tables provided in the JRE (or Java SDK). |