|
Subject: ServerSessionMessageListenerContainer usage Newsgroups: gmane.comp.java.springframework.user Date: 2006-05-15 18:21:04 GMT (3 years, 7 weeks, 2 days, 6 hours and 57 minutes ago)
Hi,
Are they any test cases for ServerSessionMessageListenerContainer or any other AbstractMessageListenerContainer implementations? I'm unable to get the desired behavior and wanted to check out its usage in the test cases?
Basically I have on server process and clients will be publishing several messages. I don't want the server to have a single JMS session since it serializes execution of all the listeners and I want to listener execution to take place as the message arrives. For example in my use case the first message is going to kick of a long running process and the second message could be to cancel the long running operation. Therefore I cannot have the listeners execute serially. Is ServerSessionMessageListenerContainer intended to solve this problem? My understanding was this this class basically created a new session for each message received and executes the corresponding listener.
Thanks,
Sanjiv
|
|
|