ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 15 matches
Author Message
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 07, 2020 1:39 pm   Subject: JMS selector - performance issue on deep queues
You were all right.

Using JMSCorrelationID with the "ID:" followed by 48 hex characters switched the behavior of the MQ client.

The MQ client now copies the whole value to the MQMD Co ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 07, 2020 6:26 am   Subject: JMS selector - performance issue on deep queues
The third format you are talking about, is setting the JMS Correlation ID in the RFH header. It certainly will return you the correct message. And it will cater for a correlation Id that is over 24 by ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Fri Aug 07, 2020 3:26 am   Subject: Re: JMS selector - performance issue on deep queues

Can you try it out to discover whether what we say is true - that it will solve your performance problem. It was certainly added in order to achieve exactly that.

Yes, I’ll try to get that done ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 10:48 pm   Subject: Re: JMS selector - performance issue on deep queues
I don't see anywhere where you show that you are using the "ID:" format. That is what I think you are missing.

I am not sure if you saw my previous post on this thread. Short version: I c ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 4:41 pm   Subject: Re: JMS selector - performance issue on deep queues

Just look at the format given to your JMSCorrelationID and you'll see that it does not match the format of the string obtained through
msg.getJMSMessageID ;
// or
msg.getJMSCorrelationID( ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 3:35 pm   Subject: Re: JMS selector - performance issue on deep queues
Edit: removed this post. Please refer to next post instead.
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 1:39 pm   Subject: JMS selector - performance issue on deep queues
The complete MQ client trace is pretty huge (over 30K lines), and masking the sensitive data would be very time consuming and error-prone.

So I will instead share a sample of the tcpdump capture an ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 12:26 pm   Subject: JMS selector - performance issue on deep queues
Does the app disconnect/reconnect for each message?

Id be interested in seeing results of an API trace.

There is only one message that has the request JMSCorrelationID. The MQ server takes many ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 11:54 am   Subject: JMS selector - performance issue on deep queues
Consider a queue with 100 messages with a CorrelID of various names, and message #100 has a Correl ID of PETER.

By doing a selective JMS GET with a CorrelID of PETER, your JMS app will issue 100 MQ ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 11:47 am   Subject: JMS selector - performance issue on deep queues

If all you need to do is select by MessageID or CorrelationID however, that should not need to use MQOPEN SelectionString, but instead it should use MQGET selection looking at the fields in the MQMD ...
  Topic: JMS selector - performance issue on deep queues
bef1

Replies: 17
Views: 32431

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 06, 2020 4:59 am   Subject: JMS selector - performance issue on deep queues
- Our MQ server is running on version 7.5.0.7 (yeah, I know...)
- The JMS client being used by the application causing the issue is using an MQ v9 client.

A new JMS client application was running ...
  Topic: Using XA on MQ pub/sub
bef1

Replies: 7
Views: 16014

PostForum: IBM MQ Java / JMS   Posted: Wed Sep 04, 2019 6:53 am   Subject: Using XA on MQ pub/sub
I have the feeling that the issue might actually not be Camel itself, but a constaint of XA with subscriptions.

It seems like the "scope" of an XA transaction includes the SUBSCRIBE opera ...
  Topic: Using XA on MQ pub/sub
bef1

Replies: 7
Views: 16014

PostForum: IBM MQ Java / JMS   Posted: Tue Sep 03, 2019 8:55 am   Subject: Using XA on MQ pub/sub
I'm not sure posting the code would help - it's not very explicit, as it is using the Camel framework. So the code does not have control over how the underlying framework performs its subscriptions... ...
  Topic: Using XA on MQ pub/sub
bef1

Replies: 7
Views: 16014

PostForum: IBM MQ Java / JMS   Posted: Tue Sep 03, 2019 6:46 am   Subject: Using XA on MQ pub/sub
I was also thinking that this is an anti-pattern at first.

However, the tcpdump that I shared shows that by using XA, the subscription operation occurs inside the XA transaction:
MQ Client -- ...
  Topic: Using XA on MQ pub/sub
bef1

Replies: 7
Views: 16014

PostForum: IBM MQ Java / JMS   Posted: Thu Aug 29, 2019 10:31 am   Subject: Using XA on MQ pub/sub
We have a java application that is using Camel as its JMS provider.

The application is subscribing to a topic using XA. It consumes 1 message in the queue, and then closes the XA transaction (each ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.