You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ak-dak <ku...@dakosy.de> on 2013/06/10 17:55:32 UTC

Communication between Camel and JBoss AS7

Hi all,

I want to develop a camel route which processes a xml message. Below a
simple route to demonstrate my use case.

<route id="processMessage">
        <from uri="activemq:queue:startMessageProcessing"/>
        <bean ref="messageService" method="convertMessage"/>
        <bean ref="jbossService" method="validateMessage"/>
        <bean ref="jbossService" method="persistMessage"/>
        <to uri="activemq:queue:forwardMessage"/>
</route>

I want to do all business JPA persist logic by EJB's within a JBoss AS 7.
See the methods of "jbossService" within my example.

And now my question. What's the "best" solution to communicate with a JBoss
AS 7 to invoke EJB's synchronously? Wrapping of the EJB calls within
Soap-Webservices could be a solution but I'am concerned about the
performance. When the system goes into production we have to process 10000
and more messages as fast as possible.

Maybe someone has a more faster solution?

Best regards 



--
View this message in context: http://camel.465427.n5.nabble.com/Communication-between-Camel-and-JBoss-AS7-tp5734069.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Communication between Camel and JBoss AS7

Posted by ak-dak <ku...@dakosy.de>.
Hi Chris,

I assume that you are working with the request/reply pattern. Works it good?
Do you have a simple example how you start your request from your camel
route? Are you using the Camel-JMS-Component?

best regards



--
View this message in context: http://camel.465427.n5.nabble.com/Communication-between-Camel-and-JBoss-AS7-tp5734069p5734078.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Communication between Camel and JBoss AS7

Posted by Chris Wolf <cw...@gmail.com>.
We use JBoss-6 and HornetQ MDBs.  (i.e. JMS)

On Mon, Jun 10, 2013 at 11:55 AM, ak-dak <ku...@dakosy.de> wrote:
> Hi all,
>
> I want to develop a camel route which processes a xml message. Below a
> simple route to demonstrate my use case.
>
> <route id="processMessage">
>         <from uri="activemq:queue:startMessageProcessing"/>
>         <bean ref="messageService" method="convertMessage"/>
>         <bean ref="jbossService" method="validateMessage"/>
>         <bean ref="jbossService" method="persistMessage"/>
>         <to uri="activemq:queue:forwardMessage"/>
> </route>
>
> I want to do all business JPA persist logic by EJB's within a JBoss AS 7.
> See the methods of "jbossService" within my example.
>
> And now my question. What's the "best" solution to communicate with a JBoss
> AS 7 to invoke EJB's synchronously? Wrapping of the EJB calls within
> Soap-Webservices could be a solution but I'am concerned about the
> performance. When the system goes into production we have to process 10000
> and more messages as fast as possible.
>
> Maybe someone has a more faster solution?
>
> Best regards
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Communication-between-Camel-and-JBoss-AS7-tp5734069.html
> Sent from the Camel - Users mailing list archive at Nabble.com.