Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic