Re: Bindy/JBoss 7 classloading problems

2013-01-20 Thread Claus Ibsen
On Mon, Jan 21, 2013 at 8:37 AM, dont_know wrote: > Hello, > > I've discovered a classloading problem when using Bindy (from Camel 2.10) in > a JBoss 7 environment. Camel itself works great, but Bindy fails, because it > uses the "build-in" classloading strategy which doesn't support the > VFS-pro

Re: Bindy/JBoss 7 classloading problems

2013-01-20 Thread dont_know
Hello, I've discovered a classloading problem when using Bindy (from Camel 2.10) in a JBoss 7 environment. Camel itself works great, but Bindy fails, because it uses the "build-in" classloading strategy which doesn't support the VFS-protocol. My current solution is to register the JBossPackageSca

To through exception in case of SFTP connectivity failure

2013-01-20 Thread dkum003
Hi, I am using JSCh API for connecting with the SFTP location. When password or userid or url is not correct. we are not getting any error from the API. I tried throwExceptionOnConnectFailed=true and maximumReconnectAttempts =0 option. But these two option are not working. Please suggest me on

Re: how to set attachment headers in camel exchange?

2013-01-20 Thread Willem jiang
Oh, The CxfBinding should be stetted rightly. If you check the code of DefaultCxfBinding you will find that it use the LOG object with the below line. private static final Logger LOG = LoggerFactory.getLogger(DefaultCxfBinding.class); As the ISGCxfBinding extends the DefaultCxfBinding, it is make

Re: How to force http consuming route to run only once?

2013-01-20 Thread Willem jiang
Hi, I think you can change your route from pulling request to direct producer mode. The route is just like this: from("direct:start").to("http://server.com/file.txt";). If you need to pulling the file from the server just once, you can send a empty message to the "direct:start" with the camel Pr

How to force http consuming route to run only once?

2013-01-20 Thread Christian Schäfer
Hello, is there a way to force the execution of a http consuming route to run only once? My use case: I have a route (from("http//server.com/file.txt").to(...) ) that is created with autostart false. Another route is responsible to trigger that http route to consume the file. My problem: somet

Re: Dynamic Route Creation.

2013-01-20 Thread Henryk Konsek
Hi Jawahar, > I am trying to create the routes dynamically ... > Reason is, I have to > fetch the routes from the database instead of static configuration. Have you consider using RecipentList [1] or DynamicRouter [2] for this purpose? It's definitely easier to use and far more maintainable than

Re: Dynamic Route Creation.

2013-01-20 Thread sekaijin
I define my routes in accordance with information read from a database. I do not understand why spas you can not do in configue. I read the startup route definition in the database (init routebuilder) then I give the hand to "configure" which according to the definition read built the road. Must

Dynamic Route Creation.

2013-01-20 Thread Syed
Hi I am trying to create the routes dynamically in *addRoutesToCamelContext(CamelContext context)* method, instead of configuring the routes in the configure() method. Reason is, I have to fetch the routes from the database instead of static configuration. the below similar example of Java DSL