RE: Is batch resequencing expected to work with JMS INOUT?

2010-06-12 Thread Taariq Levack
I see, that makes sense. Thanks -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: 12 June 2010 05:54 PM To: users@camel.apache.org Subject: Re: Is batch resequencing expected to work with JMS INOUT? Hi No the resequencer is a stateful EIP which means it receives

Re: camel-ftp problems with ftps implicit mode

2010-06-12 Thread Bengt Rodehav
Actually I seem to get this exception every time I create my route (at which time I also create a new camel context). My route looks like this: from(fromUri).to(toUri); where fromUri is: file://fromFolder?delay=1000&move=archive/${date:now:MMdd}/${file:name}&moveFailed=failed/${file:name.noe

Re: camel-ftp problems with ftps implicit mode

2010-06-12 Thread Bengt Rodehav
Willem, There might still be some OSGi related problems. When testing different failing scenarios I got the following exception: 21:44:59,398 | DEBUG | guration Updater | FileEndpoint | mponent.file.GenericFileEndpoint 138 | No strategy factory defined in 'META-INF/services/o

Re: Can't restart camel context when using camel-quartz

2010-06-12 Thread esmiralha
Claus, I'm using Camel 2.2.0. It looks like the problem is what you mention below. I followed Willem's advice and I'm just restarting my routes instead of the whole context. It works so far. Thanks, Luiz Claus Ibsen-2 wrote: > > Hi > > What runtime are you using? This has been fixed for OSGi

Re: Can't restart camel context when using camel-quartz

2010-06-12 Thread esmiralha
Hi Willem, thank you, I followed your advice and everything works now. Regards, Luiz willem.jiang wrote: > > It looks like CamelContext can't work rightly when it is stop and > restart by let the Scheduler be involved. > > Why don't you use the CamelContext to stop and start the route? > It

Re: Is batch resequencing expected to work with JMS INOUT?

2010-06-12 Thread Claus Ibsen
Hi No the resequencer is a stateful EIP which means it receives the incoming messages and then that Exchange is done. The resequencer will then by itself "spit out" new exchanges. This is the same with the Aggregator EIP pattern as well. On Fri, Jun 11, 2010 at 6:23 AM, Taariq Levack wrote: >

Re: Bindy - CsvRecord - handling bad records on batch processing

2010-06-12 Thread Claus Ibsen
Hi You can split into single records and process the records one by one. Then the failed can be moved to a DLC and the good can continue. On Wed, Jun 9, 2010 at 3:01 PM, DSailor wrote: > > My use case says I should process a set of records - delivered via file. > If any of the records has one o

Re: marshal to CSV with pipe delimiter

2010-06-12 Thread Claus Ibsen
Hi Try to create an unit test with pure Commons CSV to see what it takes to have it output with a delimiter of your choice. Then we can see what is missing in Camel. On Thu, Jun 10, 2010 at 2:09 PM, Andy Bourke wrote: > > I have successfully configured my spring XML to unmarshal a file delimite

Re: Saving Login state in the route

2010-06-12 Thread Claus Ibsen
On Sat, Jun 12, 2010 at 4:38 PM, M.Ismail wrote: > > Hi All, > > I'm working on an integration with a TCP server and I want to save my login > state (Logged/Not logged) in some variable or in the registry. For example, > whenever I receive a message I may either login if I didn't do that before >

Re: regular expressions in route starting point "from"

2010-06-12 Thread Claus Ibsen
On Sat, Jun 12, 2010 at 4:02 PM, massimo.paladin wrote: > > Hi, > > writing from the airport? > I just read your blog post, I'm one of the guys working on messaging at > CERN, under James Casey. > > I had the impression that it was component dependent but I wasn't sure > because I saw that interce

Saving Login state in the route

2010-06-12 Thread M.Ismail
Hi All, I'm working on an integration with a TCP server and I want to save my login state (Logged/Not logged) in some variable or in the registry. For example, whenever I receive a message I may either login if I didn't do that before and then send the original message or I could simply forward

Re: regular expressions in route starting point "from"

2010-06-12 Thread massimo.paladin
Hi, writing from the airport? I just read your blog post, I'm one of the guys working on messaging at CERN, under James Casey. I had the impression that it was component dependent but I wasn't sure because I saw that interceptors have regular expressions. I am looking at camel and esper in order

Re: reading soapfault message from HttpOperationFailedException

2010-06-12 Thread gnanda
I have attached my routercode. as an attachment For convenience few lines are here onException(org.apache.camel.component.http.HttpOperationFailedException.class).handled(true).to("jms:queue:MM.HTTP-ERRORQ"); onException(Exception.class).onWhen(new Predicate() {

Re: Can't restart camel context when using camel-quartz

2010-06-12 Thread Claus Ibsen
Hi What runtime are you using? This has been fixed for OSGi environments on the trunk. And yes restarting Camel context is not something that just works out of the box with any kind of components as some cannot restart itself. So you have to re-create the camel context instead of starting it in th

Re: regular expressions in route starting point "from"

2010-06-12 Thread Claus Ibsen
On Fri, Jun 11, 2010 at 10:37 AM, massimo.paladin wrote: > > Hi, > > are regular expressions supported in route starting point "from"? > I am dealing with ActiveMQ component, I found I can use only "*" and ">", > it would be useful to get more flexibility, do you know if it is possible? > No this

Re: Error Handling, original caller, JMS and components

2010-06-12 Thread Claus Ibsen
On Thu, Jun 10, 2010 at 10:09 PM, Steve Holmes wrote: > > Hi All! > > I originally posted this message to the "Camel in Action" forum but I'm > hoping that someone here can help me out as well. > > I understand when an exception is thrown by some process during the Exchange > (within a route) it i

Re: camel-ftp problems with ftps implicit mode

2010-06-12 Thread Bengt Rodehav
Hi Willem, That worked - thanks! I added the following: org.apache.camel.* which did the trick. I think it's probably hard to know what exact classes/packages will be used "under the hood" which is why I used the dynamic import. I would suggest that a Wiki page regarding how to use Camel in