gnanda wrote:
> 
>  I am sure I am doing something fundamentally wrong.  Please help
> 

What I see fundamentally wrong is the fact that you are using the service
mix client inside you bean endpoint. Bean Endpoints can be injected with the
Delivery Chanel in order to send exchanges to the bus.

Let's assume that your bean accepts an exchange performs some processing on
the exchange and you want to send that exchange to the http provider. Then
you should make your bean to handle InOut Exchanges and
alter your flow like this:

Jms Consumer -> Pipeline Endpoint (Transformer: Bean Endpoint, Target: Http
Provider).

Have a look at the "Message Processing Bean" in 
http://servicemix.apache.org/servicemix-bean.html ServiceMix Bean Examples 
and at the pipeline in  http://servicemix.apache.org/servicemix-eip.html
ServiceMix Eip Examples .





-----
Ioannis Canellos
-- 
View this message in context: 
http://old.nabble.com/SMX4-handling-transaction-tp28199896p28240004.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to