Thank you very much Guillaume !!!
My test is now successfull without any source code modification.
It is a real pleasure to work on a project with a guys like you !
Charles
Guillaume Nodet (JIRA) wrote:
[ https://issues.apache.org/activemq/browse/SM-378?page=all ]
Guillaume Nodet resolved SM-378:
--------------------------------
Fix Version: 3.0-M1
Resolution: Fixed
Assign To: Guillaume Nodet
Adding the processorName="standard" attribute to the jms endpoint should now
work.
This can also be configured on the component using a jmx console to change the
processorName attribute on the jms component configuration mbean.
Author: gnodet
Date: Wed Apr 5 13:46:49 2006
New Revision: 391800
URL: http://svn.apache.org/viewcvs?rev=391800&view=rev
Log:
SM-378: Add a fully JMS compliant processor set
Added:
incubator/servicemix/trunk/servicemix-jms/src/main/java/org/apache/servicemix/jms/standard/
incubator/servicemix/trunk/servicemix-jms/src/main/java/org/apache/servicemix/jms/standard/StandardConsumerProcessor.java
incubator/servicemix/trunk/servicemix-jms/src/main/java/org/apache/servicemix/jms/standard/StandardProviderProcessor.java
incubator/servicemix/trunk/servicemix-jms/src/main/resources/META-INF/services/org/apache/servicemix/jms/standard
JMS sessions are not singleThread
---------------------------------
Key: SM-378
URL: https://issues.apache.org/activemq/browse/SM-378
Project: ServiceMix
Type: Bug
Components: servicemix-jms
Versions: incubation
Reporter: Charles Souillard
Assignee: Guillaume Nodet
Fix For: 3.0-M1
Original Estimate: 1 hour
Remaining: 1 hour
MultiplexingProviderProcessor classes creates a jms session in the doStart
method (deployment time : Thread 1) and reuses this one at execution time
(Thread 2). This is not JMS compliant. JMS sessions must be created just before
using them and closed before the end of the thread.