|
[
Permlink
| « Hide
]
Manish Bellani added a comment - 31/Jul/07 01:46 PM
We have exact same problem in our application at the moment, i'm trying an approach where i am starting the broker in the separate thread. any other tips i can use? is there a patch available for this feature?
This request looks fixed for a J2EE compliant server, (https://issues.apache.org/activemq/browse/AMQ-1519
But thank to Samuel Liard, the solution for non a J2EE servers is now given here : http://www.net-liard.com/blog/2009/04/activemq/ The ThreadBrokerFactoryBean.java file is found in his application sample : However, I've attached a modified version that may be directly called from a Spring configuration file. <amq:broker id="myBrokerService" start="false"> <bean id="brokerFactory" class="app.activemq.ThreadBrokerFactory"> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||