Hi,
I'm a little confused about SM's Transactions and Flows and how it should be
applied to my simple use case:
client -> http consumer -> camel -> http provider > external web service
I will not be creating or routing to any activemq endpoints inside the Camel
component nor perform any database operations. I've read from the forum
that transactions depends on the choice of components as well as the choice
of flow to use.
I've left my flow configuration as default ( SM 3.3 )
<sm:broker>
<sm:securedBroker authorizationMap="#authorizationMap">
<sm:flows>
<sm:sedaFlow />
<sm:jmsFlow jmsURL="${activemq.url}" />
<sm:jcaFlow connectionManager="#connectionManager"
jmsURL="${activemq.url}" />
</sm:flows>
</sm:securedBroker>
</sm:broker>
1) Given my use case and my config, which flow type will be used by SM upon
receiving a client request?
2) Will a transaction be automatically started and at which point will it
be created?
3) Considering that my camel component will only be doing throttling and
routing to http endpoints, are transactions even necessary?
After reading the http://servicemix.apache.org/transactions.html
transactions page and seeing the code examples, I got confused where to
code those in in relation to my use case.
Appreciate any clarifications. Newbie here. Thanks!
--
View this message in context:
http://www.nabble.com/Transactions-and-Flows-for-my-use-case-tp22092994p22092994.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.