camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@gmail.com>
Subject Re: Camel blueprint in JBoss AS
Date Thu, 04 Jul 2013 14:22:33 GMT
if you are talking about the camel components, you will also need
camel-blueprint.



2013/7/4 Gnanaguru S <gnanaguru.sattanathan@wipro.com>

> Hi,
>
> I am trying to deploy a camel-config.xml directly in JBoss deployment
> directory.
>
> I have wrapped the camel context with blueprint tags, I have deployed
> camel-core.jar in the same deployment directory. camel-core is shown as a
> active bundle in the bundles list.
>
> The camel-config.xml is showing as deployed, but the routes are not
> working.
> ( A simple file to file use case)
>
> Do I need to deploy any blueprint specific bundles ?
>
> I have a Java application which will collect from/to endpoints from a web
> portal and creates a camel-config.xml dynamically. I want this to be
> deployed on a server, that is the reason why I prefered blueprint as a
> option to deploy xml's directly.
>
> Sample code:
>
>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
>            xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
>            xmlns:cxf="http://cxf.apache.org/blueprint/core"
>            xmlns:camel="http://camel.apache.org/schema/blueprint"
>            xmlns:camelcxf="http://camel.apache.org/schema/blueprint/cxf"
>            xsi:schemaLocation="
>              http://www.osgi.org/xmlns/blueprint/v1.0.0
> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>              http://cxf.apache.org/blueprint/jaxws
> http://cxf.apache.org/schemas/blueprint/jaxws.xsd
>              http://cxf.apache.org/blueprint/core
> http://cxf.apache.org/schemas/blueprint/core.xsd
>              ">
>
>
>   <camelContext id="camel" xmlns="http://camel.apache.org/schema/blueprint
> ">
>
>   <route>
>
>                 <from uri="file://e:\input" />
>
>                 <to uri="file://e:\output" />
>
>
>         </route>
>
>   </camelContext>
>
> </blueprint>
>
> Thanks
> Guru
> gnanaguru.com
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-blueprint-in-JBoss-AS-tp5735183.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message