Posted: Wed Oct 20, 2004 9:41 am Post subject: Can I use Message driven bean just to send messages
Novice
Joined: 16 Jul 2004 Posts: 14
Hello jefflowrey,
Thanks for the reply. But I am using MDB's to receive messages and I know MDB's only to receive messages.
But I have been asked by team lead whether we can use MDB's just to send messages instead of using a session bean to maintain constistency.
(this is the first project we are using MDB's).
The question is
1) can we do just sending messages with MDB without listening to any queue ? (I told my team lead that MDB's are not that purpose.just I want to double check with this forum since I am not sure whether we can MDB like that also).
2) if yes, is there any disadvantage of doing that like resources wise?
Posted: Wed Oct 20, 2004 10:20 am Post subject: Re: Can I use Message driven bean just to send messages
Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
kiran_tala wrote:
But I am using MDB's to receive messages and I know MDB's only to receive messages.
....
1) can we do just sending messages with MDB without listening to any queue ?
Didn't you answer your own question? If an MDB gets started by receiving a message, how are you going to use one without listening to any queue?
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