Re: Camel Blueprint Test Support

2013-07-09 Thread Jothi
Let me try that today and post the results here! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Blueprint-Test-Support-tp5735198p5735330.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enricher - coping strategy

2013-07-09 Thread solimo
Willem.Jiang wrote The enricher is just a common EIP implementation, we don't care much about the implementation of message. That's right, so implementation of exchange creation should be injectable. Willem.Jiang wrote I think we can enhance the enrich DSL by providing the plugin parameter

Routing CSV file to Jax WS method with multiple parameters

2013-07-09 Thread John McDonnell
Hi all, Firstly I would like to point out that I am new to Camel(24 hours), and I am working on a code assessment for a Job interview, which requires Camel to be used, so if this constitutes a Help me with my homework type post, please feel free to ignore. The purpose of the assessment is to

Re: Aggregator: completionInterval

2013-07-09 Thread josacu
Thank you Claus, I didn't know that feature. I paste my solution, maybe it can help someone: lt;beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; *xmlns:prop=http://camel.apache.org/schema/placeholder*

Bindy Date Pattern Error

2013-07-09 Thread ganeshkumar.kanagavel
Hi, Can you please advise regarding Date Pattern exception in Bindy. We are using Bindy to marshal, We have a attribute with data type as DATE. We are getting the below exception during the parsing. java.lang.IllegalArgumentException: Can not find a suitable formatter for the type:

Re: Bindy Date Pattern Error

2013-07-09 Thread Christian Müller
How dos your date looks like? Which version of Camel do you use? I added an unit test to 2.12-SNAPSHOT [1] which show does it works (at least with this version). [1]

twitter version updated to v1.1

2013-07-09 Thread hwerner
I'm trying to use twitter in my routes and am currently getting the 410 error message from twitter stating that twitter REST api v1.0 is no longer being used, please update to v1.1. Does this mean Camel needs to update, or do I need to update my api somewhere? This is for a basic twitter search

Re: Bindy Date Pattern Error

2013-07-09 Thread Babak Vahdat
Hi As the test being added by Christian already demonstrates it, you should make use of the java.util.Date and NOT java.sql.Date. Following are the formats being supported: http://camel.apache.org/maven/current/camel-bindy/apidocs/org/apache/camel/dataformat/bindy/Format.html Feel free to log a

Question on completionTimeout in AggregateDefinition

2013-07-09 Thread Sean Beck
If i set the timeout for one minute in an aggregator will the timer restart every time a new message comes over? Thanks

Re: Question on completionTimeout in AggregateDefinition

2013-07-09 Thread Christian Posta
nope. it will send off all the messages it has received in that one minute, then restart. On Tue, Jul 9, 2013 at 6:49 PM, Sean Beck seanmckayb...@gmail.com wrote: If i set the timeout for one minute in an aggregator will the timer restart every time a new message comes over? Thanks --

Re: twitter version updated to v1.1

2013-07-09 Thread Willem jiang
camel-twitter is based on twitter4j project, and 3.0.x of twitter4j support the twitter API v1.1 natively. I just checked the camel master and 2.11.x branch, they are using the twitter4j 3.0.3. So my question is which version of camel are you using? You may consider to upgrade the camel

Jetty component. Is it possible do nut put request body into header?

2013-07-09 Thread Evgeniy
I work with big messages(about 1mb) and jetty component reads the message body into camel exchange header. It causes such errors: WARN header full: java.lang.RuntimeException: Header6144 So, how can I make jetty component do not put HttpRequest body into headers? Regards, Evgeniy -- View

Re: Jetty component. Is it possible do nut put request body into header?

2013-07-09 Thread Willem jiang
Can I have a look at your camel route? It could be easy to remove the message header just by using the removeHeaders DSL[1]. [1]http://camel.apache.org/how-to-avoid-sending-some-or-all-message-headers.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web:

Camel 2.11.0 -- TypeConverterLoaderException

2013-07-09 Thread vkarkhanis
Hello, We switched from camel 2.9.0 to 2.11.0 version. However, when we load the camel context (using springs dsl), we get following exception: Exception in thread main org.apache.camel.RuntimeCamelException: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because

Re: Camel routes and threads

2013-07-09 Thread vkarkhanis
Hello, We have switched to camel 2.10.0 to resolve the issue. We realized that camel version 2.9.0 has problems with the split functionality if parallelProcessing=true is used. It does not take the customThreadPool settings. Also the parallel processing tend to be operative only for one instance

Incoming message from the queue need to be send to multiple consumer but keep the ordering

2013-07-09 Thread salemi
Hi, I like to implement a mechanism in Camel to receive message from a JMS queue. Once I have identified the type of message based on the content than I can forward them to JavaSpaces. The write to JavaSpaces takes about 3ms so I need to parallelize the writes. But there is a catch I can't

Re: Camel 2.11.0 -- TypeConverterLoaderException

2013-07-09 Thread Willem jiang
Hi, Can you check if there are two camel-scala jars in you class path and the scala version that you are using? BTW, if you don't use the scala, you can just move the camel-scala jars away directly. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web:

Re: Routing CSV file to Jax WS method with multiple parameters

2013-07-09 Thread Gilles Dupont Tagne
Hi John, The input parameter of the *cxf://http://localhost:8090/soap/Payments?serviceClass=PaymentsWebService*-Endpoint have to be an instance of Object[] or org.apache.cxf.message.MessageContentsList. Your route have to look like this from(FILE PATH) .unmarshal() .csv()

Re: Question on completionTimeout in AggregateDefinition

2013-07-09 Thread Claus Ibsen
Hi There is 2 timer related options - timeout - interval The former is based on inactivity, and the latter is triggered in fixed schedules after a given interval elapsed. And the former is based on per correlated key, and the latter is general and for all. See details at

Re: Enricher - coping strategy

2013-07-09 Thread Claus Ibsen
This is working as designed. When using the enricher EIPs then the idea is that having the original message and the new message to combine these into a original message that is enriched with information from the new message. On Mon, Jul 8, 2013 at 7:01 PM, solimo rob...@budzko.eu wrote: Hello!