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 » IBM MQ Java / JMS » Can JMS listener handles standard MQ messages ?

Post new topic  Reply to topic
 Can JMS listener handles standard MQ messages ? « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Thu Jul 18, 2002 8:00 am    Post subject: Can JMS listener handles standard MQ messages ? Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

I am new to JMS. I was told that I can use the JMS listener to listen on the arrival of a message (or a specific message). I was wondering if that message has to be in the JMS format (i.e. with the JMS header..) or it can be just a standard MQ message (i.e. just contains the MQMD). I have a MQ client program that is now putting message on a queue. I am thinking of using a JMS listener to listen on the queue for any incoming message sent by my client.
Since my client application is regular MQ program , the message I send will not have any JMS header.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jul 18, 2002 9:18 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

We are currently doing the same thing with no problems, I have a C program that writes a message queue and we have jms listeners pick them up and process them.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
vadivel
PostPosted: Mon Aug 12, 2002 3:19 am    Post subject: Reply with quote

Voyager

Joined: 05 Aug 2002
Posts: 79
Location: US

Hi kelvin,
U can very well use JMS to receive messages.
U may have some problems of header if u send message from JMS to non JMS clients. To avoid this set the TargetClient property in the Queue object to Non-JMS, this would truncate the MQRHF2 headers.
Cheers,
Vadi
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Can JMS listener handles standard MQ messages ?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.