You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christian Müller <ch...@gmail.com> on 2013/04/01 14:00:25 UTC

Re: Route starts when deployed with a cxf endpoint

Please have a look at the attached project. It verifies the route isn't
started if the Camel context has the autoStartup set to false.
And on the configured host and port, there is no service listening which
means I would receive an exception is the route starts polling the remote
directory.

Can you check your route again? May be extend/update my unit test with your
configuration and CXF endpoint...

Best,
Christian


On Wed, Mar 27, 2013 at 6:43 AM, dkum003 <DH...@amadeus.com>wrote:

>
> Well i missed to give the camel-context.xml which loads this route builder.
> Here it is
>
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:schemaLocation="
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
>        http://camel.apache.org/schema/spring
> http://camel.apache.org/schema/spring/camel-spring.xsd">
>
>         <camelContext autoStartup="false" id="bif-camel"
> xmlns="http://camel.apache.org/schema/spring">
>                 <routeBuilder ref="bifBuilder"/>
>         </camelContext>
>         <bean id="bifBuilder" class="com.routes.BIFRouteBuilder"/>
>  </beans>
>
>
> and we have CronScheduledRoutePolicy set in the route builder to start the
> route at a specific time..
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Route-starts-when-deployed-with-a-cxf-endpoint-tp5729593p5729895.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Re: Route starts when deployed with a cxf endpoint

Posted by dkum003 <DH...@amadeus.com>.
Hi Christian,

Thank you for the project. The auto start up works absolutely fine in this
case because your .to end point is a FTP location. As i said in my post ,
this works fine for FTP,SFTP,File. But when you configure a CXF endpoint as
the .to location, the route starts when deployed.


Regards,
Manish



--
View this message in context: http://camel.465427.n5.nabble.com/Route-starts-when-deployed-with-a-cxf-endpoint-tp5729593p5730188.html
Sent from the Camel - Users mailing list archive at Nabble.com.