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 » Message Driven Bean Question

Post new topic  Reply to topic
 Message Driven Bean Question « View previous topic :: View next topic » 
Author Message
bamboozled_by_MQ
PostPosted: Wed Oct 20, 2004 7:10 am    Post subject: Message Driven Bean Question Reply with quote

Voyager

Joined: 07 Jan 2004
Posts: 75

two types of messages coming into a system and bein dropped on two different queues.
They will both eventually be accessing the same DB but one queue recieves persist msg and the other receive non-persist msg

the persist msg are db updates
the non persist are DB searches

should I use a MDB for both?

OR

use a stateless session bean (request/reply) for the non persist msgs since they will just be searches on the database anyway and should wait for reply?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 20, 2004 2:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The real question is what are you doing with the answer to the searches. If they are displayed to a user as they come back use the session bean.

If they are handled without human intervention and without regard to any correlation Id they might have use an MDB. I would not use a selector with an MDB. It will have some implications as to synchronized queue access methods if you need to use more then one selector.

Enjoy
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message Driven Bean Question
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.