Posted: Fri Nov 04, 2011 9:57 am Post subject: <mqps>.<Top>
Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
Using JMS on MQ7:
Does anyone know how to get the <mqps>.<Top> value from msg.delegateMsg.providerMessage.rfh2FolderParser.folder on TextMessage format.
...
...
...
topicSession = topicConn.createTopicSession(false, javax.jms.Session.AUTO_ACKNOWLEDGE);
topicConn.start();
topic = (Topic)topicSession.createTopic("my-topic-string");
TopicSubscriber topicsub = topicSession.createSubscriber(topic);
while (more-msgs).....
{
Message msg = topicsub.receiveNoWait();
msgCounter++;
String mqPubTopic = .... get it from <mqps>.<Top> ?????
...
...
}
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum