Re: Bindy fixed length

2013-04-29 Thread Charles Moulliard
Ticket created : https://issues.apache.org/jira/browse/CAMEL-6323 On Sat, Apr 27, 2013 at 12:49 PM, Charles Moulliard ch0...@gmail.comwrote: Will have a look tomorrow to solve the bug. On Sat, Apr 27, 2013 at 11:06 AM, Babak Vahdat babak.vah...@swissonline.ch wrote: Hi Charles, This

Re: File2: maxMessagesPerPoll combined with readLock=changed

2013-04-29 Thread hefiso
Hi OK, I see. Of course the fileconsumer may impose an order on consumation. However, it may very well happen that several files (in the right order) will become ready for consumation within the same readLockTimeout-period and these files *could* be processed in one go. However, it is probably

Re: Conditional route-scoped onException

2013-04-29 Thread Bernard Ligny
I aslo tried to rewrite the route as: route id=processBatch errorHandlerRef=DLQ_solr_batches from uri=activemq:queue:solr-batches/ onException exceptionjava.lang.Exception/exception choice when

Re: convertBodyTo object array

2013-04-29 Thread Claus Ibsen
No You can create your own type converter or use a camel processor or java bean etc. On Sun, Apr 28, 2013 at 9:45 AM, Darwish othman.darw...@progressoft.com wrote: Hi , any XML DSL workaround ? my version is 2.10.1 Thanks, - Othman Darwish ProgressSoft Corp. -- View this

Re: Problems with sftp in Camel 2.11.0

2013-04-29 Thread Claus Ibsen
Hi Bengt Thanks for the patches et. all. I just want to remind you and others listening that we did 4 RC rounds of the 2.11.0 release, so it would be ideal if people had tested the RC's. Otherwise there is less points in us doing all the RC rounds if the community dont react and help test it.

Re: AggregationStrategy and wrong sequence order

2013-04-29 Thread Sven Bauhan
Ok, new issue: https://issues.apache.org/jira/browse/CAMEL-6325 On 04/27/13 08:06, Claus Ibsen wrote: Hi Yeah that may be possible. Feel free to log a JIRA ticket. On Fri, Apr 26, 2013 at 6:33 PM, Sven Bauhan s...@ast.dfs.de wrote: Ok, but then the timeout for the aggregation can occur, if

WireTap doesn't process the messages in the order they arrived for each message

2013-04-29 Thread Christian Mueller
The following test fails randomly fails at message 6 up to 961 (on my machine). I consider this as an bug: public class WireTapTest extends CamelSpringTestSupport { private int counter = 1; @Test public void test() throws InterruptedException {

Re: Problems with sftp in Camel 2.11.0

2013-04-29 Thread David Karlsen
Probably if the RC's are available off central the testing/use of them would increase. 2013/4/29 Claus Ibsen claus.ib...@gmail.com Hi Bengt Thanks for the patches et. all. I just want to remind you and others listening that we did 4 RC rounds of the 2.11.0 release, so it would be ideal if

RouteDefinition.recipientList(...) post processing callback

2013-04-29 Thread FuzzKat Media
Hi I have a file route that sends a set of files (unix scripts) to many servers. This one to many is achieved via the RouteDefinition.recipientList(property(TO_FILE_COMPONENT_URI)) with the TO_FILE_COMPONENT_URI containing the array of to URIs (each pointing to the NAS location for the

Re: Problems with sftp in Camel 2.11.0

2013-04-29 Thread Bengt Rodehav
Sorry, I just didn't have the time to test the RC's this time. However, I agree with David that having the RC's in central would be convenient. and might help making testing less of an effort. /Bengt 2013/4/29 David Karlsen davidkarl...@gmail.com Probably if the RC's are available off central

How to create a generic SOAP consumer?

2013-04-29 Thread Smith-John
Hi, I need a generic SOAP consumer but don't know how to build it. The consumer should be able to consume any kind of SOAP message and should be able to pick out the body of it. I tried to realize it with cxf-component and MESSAGE format, but this way I can't handle headers. With PAYLOAD

Re: How to create a generic SOAP consumer?

2013-04-29 Thread Christian Müller
Did you checked the camel-soap component? Sent from a mobile device Am 29.04.2013 16:36 schrieb Smith-John mich...@gmail.com: Hi, I need a generic SOAP consumer but don't know how to build it. The consumer should be able to consume any kind of SOAP message and should be able to pick out the

Re: Using ManagedServiceFactory to dynamically deploy routes

2013-04-29 Thread declancox
Hi Christian, Thanks for the reply. That particular issue was solved with an upgrade to 2.3.0 which includes Aries 1.x as you remark. It is a nice use of the ManagedServiceFactory mechanism for sure however it does require that I extend OsgiDefaultCamelContext, this is required for the OSGi

Re: Read multiple files from a directory

2013-04-29 Thread Christian Müller
Your design sounds good for me. Sent from a mobile device Am 29.04.2013 12:43 schrieb Jothi codeintheo...@gmail.com: Dear Camel Users, I would like to achieve the following: (1) Read 2 files from a directory at the same time (2) Perform some processing on the content of both the files (3)

how to read a large amount of data in a 2nd step

2013-04-29 Thread Christian Jacob
Hi there, maybe I am running totally in the wrong direction because I'm a Camel rookie. But what I try to do is the following: I have database table of orders and a 2nd db table of order lines. A single order may have 10 order lines. Each order with all its order lines has to be stored in

Aggregator not retaining data after leaving the Route

2013-04-29 Thread RTernier
I am successfully aggregating my XML into a single message, however once I leave the route that does the Aggregation it goes back to the original XML. I'm not sure why it reverts outside of the aggregate method... what is the best practice to keep that envelope? When the XML is Not Correct it

Re: Aggregator not retaining data after leaving the Route

2013-04-29 Thread RTernier
I tried doing the following: The direct:foo does contain the correct XML. But when all these routes finish and finally start processing on the main route that called all of this, that route has the wrong XML. How do I get the AggregatedXML to be the actual Envelope for this process so the Root

User agent header on HTTP component

2013-04-29 Thread fbarbat
Hi, How can I set user-agent header on http component? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/User-agent-header-on-HTTP-component-tp5731761.html Sent from the Camel - Users mailing list archive at Nabble.com.

new camel predicate\expression language

2013-04-29 Thread javamonkey79
Is is possible to create custom predicate\expression languages within camel? For example, I have something like this now: when simple${in.header.SEND_TO_FOLDER}/simple to id=outId

Camel with BeanFactory

2013-04-29 Thread Kalyan Dev
Hello, I understand by skimming over Camel's source code that it uses ApplicationContext everywhere. In a project that I'm working on, I HAVE to use BeanFactory only. Is it possible to initialize and use Camel's capabilities in a BeanFactory instead of ApplicationContext at all ? If so, what

Translation of Camel manual

2013-04-29 Thread koseki nobuyuki
Hi, I'm planning to translate Camel manual into Japanese, in order to increase Camel users. When I translate, do I need any permission of ASF or Camel members? Or I can translate the manual freely and open to the public? regards, Koseki Nobuyuki -- View this message in context:

Camel with BeanFactory

2013-04-29 Thread kalyand
Hello, I understand by skimming over Camel's source code that it uses ApplicationContext everywhere. In a project that I'm working on, I HAVE to use BeanFactory only. Is it possible to initialize and use Camel's capabilities in a BeanFactory instead of ApplicationContext at all ? If so, what

Re: Camel with BeanFactory

2013-04-29 Thread Claus Ibsen
Hi What do you mean HAVE to use BeanFactory? Do you mean that camel-spring source code must not use ApplicationContext or any of the other Spring public APIs ? Well you can write you own camel module. Or just not use camel-spring at all, and just use camel-core which is Java code and has not

Re: new camel predicate\expression language

2013-04-29 Thread Claus Ibsen
Hi Yeah sure you can write a custom language. Just look at camel-mvel, camel-ognl etc. In the XML DSL you can use the generic language to refere to your custom language. when language name=myLanguagefoo bar stuff/language ... On Tue, Apr 30, 2013 at 3:03 AM, javamonkey79

Re: User agent header on HTTP component

2013-04-29 Thread Claus Ibsen
Just set a header with the key user-agent and the value you want. On Tue, Apr 30, 2013 at 1:53 AM, fbarbat fbar...@gmail.com wrote: Hi, How can I set user-agent header on http component? Thanks. -- View this message in context: