[ajug-members] Filter or MessageSelector?

Jason Vinson vinson.lists at charter.net
Sun Mar 25 07:52:03 EDT 2007


Hi all

 

(I tried sending this mail Friday, but it never came through, so please
ignore if you get this twice)

 

I have a general JMS question that I'd like to get some feedback on.  I have
a concurrent user web application that interacts with a remote service via
JMS and I want to manage the JMS communication in a synchronous way.  The
current system is deployed using a queue for the reply channel but that can
be changed to a topic if it's absolutely necessary.

 

So I have two options that I am entertaining but I am not sure which to go
with.

 

1.)     Use a queue with message selectors

2.)     Use a topic, filtering on the client side by correlation id

 

I prefer #1 due to the fact that it doesn't impact the remote service
deployment, but if there are major reasons to avoid message selectors, I
could be convinced otherwise.

 

A third approach is using temporary reply-to queues, but I'd like to avoid
that for reasons I won't go into in this email.  

 

What do you guys think, option 1 or 2 and why?

Jason

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070325/7027b4e5/attachment.html 


More information about the ajug-members mailing list