• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Message Driven Bean with MQMessage ?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Hope someone can help me out here.

I am using MQSeries 5.3, CSD7 and WebSphere 5.1 with the Messaging Client installed.

On the MQSeries queue messages are put with (amongst others) a Topic and. PubClientId. These two are very important to our application.

I have created a small MQ java client which reads the MQMessage's of the Queue and uses the .readLine() method. This result is then parsed and from that I can get the Topic and PubClientId (and the data, which is the trailing data after the xml part).

Now, I want to put all this in a MDB, so that it reacts in realtime. Only problem however, is that MDB works with JMSMessage's. And I can only get the message data. I also can get a lot of other (to my purpose USELESS) properties, but neither the PubClientId nor the Topic are anywhere to be found. I think this is hidden by the JMS-layer, but is there any way to AND use an MDB (cause of the realtime processing) AND the MQMessage functionalities ?

I have thought about having esql getting the topic and the pubclientid and appending this to the actual data, but I don't know esql well enough

Any help would be great !

Thanks,

Dennis
 
reply
    Bookmark Topic Watch Topic
  • New Topic