You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2011/10/02 09:06:24 UTC
Re: Camel JBI Interaction
On Fri, Sep 30, 2011 at 8:19 PM, diwakar <di...@nsn.com> wrote:
> Hi,
>
> I have a File sender endpoint (test:s) created that sends a file
> to a folder. The SA containg this SU is deployed into Servicemix 4.3 deploy
> folder. I am trying to send a file from Camel poller (file:input2) to the
> JBI sender(test:s). This does not work. The code is below.
>
> Is this expected to work? Please let me know your comment.
>
Don't use JBI if you can avoid using it.
> With Best Regards,
> Diwakar
>
> JBI File sender:
> <?xml version="1.0" encoding="UTF-8"?>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:file="http://servicemix.apache.org/file/1.0"
> xmlns:med="test"
> xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://servicemix.apache.org/file/1.0
> http://servicemix.apache.org/schema/servicemix-file-3.2.3.xsd
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <file:sender directory="Directory1" endpoint="endpoint" service="med:s">
> </file:sender>
> </beans>
>
> Camel File poller:
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint
> xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://www.osgi.org/xmlns/blueprint/v1.0.0
> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
> <camelContext xmlns="http://camel.apache.org/schema/blueprint">
> <route>
> <from uri="file:input2"/>
> <threads>
> <log message="Copying ${file:name} to the output directory"/>
> <to uri="jbi:service:test/s"/>
> </threads>
> </route>
> </camelContext>
> </blueprint>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-JBI-Interaction-tp4857978p4857978.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
Re: Camel JBI Interaction
Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Oct 5, 2011 at 6:55 AM, diwakar <di...@nsn.com> wrote:
> Hi,
>
> >> Don't use JBI if you can avoid using it.
> Since we have used lof of JBI, we want to know if the
> interworking between JBI and Came possible. Please let us know.
>
Yes using the SMX Camel JBI component
http://camel.apache.org/jbi
> With Best Regards,
> Diwakar
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-JBI-Interaction-tp4857978p4871510.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
Re: Camel JBI Interaction
Posted by diwakar <di...@nsn.com>.
Hi,
>> Don't use JBI if you can avoid using it.
Since we have used lof of JBI, we want to know if the
interworking between JBI and Came possible. Please let us know.
With Best Regards,
Diwakar
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JBI-Interaction-tp4857978p4871510.html
Sent from the Camel - Users mailing list archive at Nabble.com.