Wang Yan
2018-10-21 06:27:34 UTC
is transaction (required) by default enabled for the route sending message
from one jms endpoint to another endpoint like below
from("activemq:queue:foo").to("activemq:queue:bar");
or i have to explicitly do like below ?
Policy requried = bean(SpringTransactionPolicy.class,
"PROPAGATION_REQUIRED"));
from("activemq:queue:foo").policy(required).to("activemq:queue:bar");
Any hints or suggestions are more than welcome!
from one jms endpoint to another endpoint like below
from("activemq:queue:foo").to("activemq:queue:bar");
or i have to explicitly do like below ?
Policy requried = bean(SpringTransactionPolicy.class,
"PROPAGATION_REQUIRED"));
from("activemq:queue:foo").policy(required).to("activemq:queue:bar");
Any hints or suggestions are more than welcome!