Apologies if this is more of a Spring question than a Camel question. When I initially tried, I configured one JMS connection-factory per route, and assigned that connection-factory to the JMS txmgr and the route's jms-component. But running this throws the following exception:
java.lang.IllegalArgumentException: Found 2 PlatformTransactionManager in registry. Cannot determine which one to use. Please configure a TransactionTemplate on the transacted policy. So I configured a transaction-policy for each txmgr, but still get that error. The only way to not get the error is to use just one policy but I think that effectively selects one txmgr for all the routes. Does anybody know if there's a way to do this? -- View this message in context: http://camel.465427.n5.nabble.com/Can-I-config-a-JMS-routing-app-w-multiple-PlatformTransactionManagers-tp5771589.html Sent from the Camel - Users mailing list archive at Nabble.com.