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 6 matches
Author Message
  Topic: How to read the latest message from queue manager
pras120687

Replies: 2
Views: 8855

PostForum: IBM MQ Java / JMS   Posted: Wed Jan 26, 2022 4:08 am   Subject: How to read the latest message from queue manager
Hi,

I have code to read the message from queue manager. But I am reading the message which is not latest. Can you guide me how to read the latest message from queue manager. Please find the below c ...
  Topic: How to read the correlation id
pras120687

Replies: 2
Views: 6575

PostForum: IBM MQ Java / JMS   Posted: Tue Jan 25, 2022 7:44 am   Subject: How to read the correlation id
Hi,

I am sending correlation id in MQ headers like below

java.util.Random R1 = new Random();
byte [] corId = new byte[24];
R1.nextBytes(corId);

//

inMessage.correlationId = corId ;

bu ...
  Topic: Correlation ID as header while pushing the message to MQ
pras120687

Replies: 7
Views: 5236

PostForum: General IBM MQ Support   Posted: Thu Jan 06, 2022 7:24 am   Subject: Correlation ID as header while pushing the message to MQ
I am using java below is the code which i tried after your suggestions above

String m_corr = "PrasanthCorruPrash";

MQMD md = new MQMD();

...
  Topic: Correlation ID as header while pushing the message to MQ
pras120687

Replies: 7
Views: 5236

PostForum: General IBM MQ Support   Posted: Thu Jan 06, 2022 6:22 am   Subject: Correlation ID as header while pushing the message to MQ
Please can anyone help with the code ?
  Topic: Correlation ID as header while pushing the message to MQ
pras120687

Replies: 7
Views: 5236

PostForum: General IBM MQ Support   Posted: Thu Jan 06, 2022 5:30 am   Subject: Correlation ID as header while pushing the message to MQ
I am new to this MQ. could you please add few lines of code
  Topic: Correlation ID as header while pushing the message to MQ
pras120687

Replies: 7
Views: 5236

PostForum: General IBM MQ Support   Posted: Thu Jan 06, 2022 5:16 am   Subject: Correlation ID as header while pushing the message to MQ
Hi All,

Can anybody suggest the code to pass correlation ID as header to the message that we push to MQ.

I have code to push the message to MQ but not sure how to add correlation ID as a header ...
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.