Re: Context Scan with @Configuration and camel-spring-javaconfig

2012-09-28 Thread Willem jiang
Basically, you just need to find out the RouteBuilder classes as you want in Java when you extends the CamelConfiguration class, then you don't need to be bothered by any XML. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com

Re: Camel MQ help needed

2012-09-28 Thread Willem jiang
You can enable the trace[1] feature to see if the message is sent to jms endpoint. [1]http://camel.apache.org/tracer.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemj

Re: activeMQ reading order problem

2012-09-28 Thread Willem jiang
How did you stop the consumer, I'm not sure if the consumer still hold the first message when you stop the consumer. What kind of JMS ACKNOWLEDGE did you use? -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://will

Re: extract data from mutlipe csv file convert to xml

2012-09-28 Thread London12345
Thanks.I have seen the camel bindy documentation but I am unable to find the details about how to skip data from single row.I can only see skipping entire line. For example : CSV file:Claus,Ibsen,Camel in Action 1,2010,35 I just want to pick third element in the row and rest to be ignored.Can you

Camel netty - Netty ChannelBuffer classloading issue in Karaf 2.2.9

2012-09-28 Thread declancox
Hi, I have a simple camel route using the netty component (Karaf 2.2.9, Camel 2.10.0 an Netty version 3.5.1.Final). I construct the CamelContext programmatically to take advantage of the OSGi Config Admin Managed Service factory (see my previous post

Re: Camel MQ help needed

2012-09-28 Thread realice
thanks, turns out the mq queue needs a property of targetClient with a value of MQJMS_CLIENT_NONJMS_MQ(1), is there any way i can specify that in camel route? right now i have do i just do http://camel.465427.n5.nabble.com/Camel-MQ-help-needed-tp5720158p5720210.html Sent from the Camel - Users

Re: Camel MQ help needed

2012-09-28 Thread Jonathan Anstey
Some options are listed here: http://camel.apache.org/jms.html#JMS-SettingJMSprovideroptionsonthedestination On 12-09-28 02:21 PM, realice wrote: thanks, turns out the mq queue needs a property of targetClient with a value of MQJMS_CLIENT_NONJMS_MQ(1), is there any way i can specify that in cam

Re: Camel MQ help needed

2012-09-28 Thread Jonathan Anstey
Something like this should do the trick (of course modify with your own URI/destination): ... queue:///MY_QUEUE?targetClient=1 On 12-09-28 02:53 PM, realice wrote: how do i do this within spring camel route? thanks -- View this message in context: http://camel.465427.n5.nabble

Re: Tutorial 1 fails running with exception

2012-09-28 Thread Babak Vahdat
As the comment inside the file already says that: https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-reportincident/src/main/resources/META-INF/spring/camel-context.xml It is just for demonstration purpose to show how you could invoke the *same* routing in XML-DSL instead of Repo

Re: Camel MQ help needed

2012-09-28 Thread David Karlsen
You can set that option directly on the ibm mq connection factory Den 28. sep. 2012 18:52 skrev "realice" følgende: > thanks, turns out the mq queue needs a property of targetClient with a > value > of MQJMS_CLIENT_NONJMS_MQ(1), is there any way i can specify that in camel > route? right now i ha

Re: Camel MQ help needed

2012-09-28 Thread realice
i tried that too, that's not part of of the property for queueconnection, the setheader worked -- View this message in context: http://camel.465427.n5.nabble.com/Camel-MQ-help-needed-tp5720158p5720220.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: extract data from mutlipe csv file convert to xml

2012-09-28 Thread Christian Müller
@CsvRecord public Class Foo { @DataField(pos = 3) private String bar; ... } should do the trick... Best, Christian On Fri, Sep 28, 2012 at 11:03 AM, London12345 wrote: > Thanks.I have seen the camel bindy documentation but I am unable to find > the > details about how to skip data from

Mock do not work for test 2 and more Camel cotexts

2012-09-28 Thread shurf89
Hi!I can not test my scenario which contain routs which represent in 3 different Camel context. If i comit 2 last camel context - mock work. @ContextConfiguration({ "/caravan_test.xml", "/beans-lazy_test.xml", "/dbunit.xml", "/com/pb/expsys/camel/camel_routes/cards/route_getdatasour

Re: Mock do not work for test 2 and more Camel cotexts

2012-09-28 Thread Claus Ibsen
On Fri, Sep 28, 2012 at 5:19 PM, shurf89 wrote: > Hi!I can not test my scenario which contain routs which represent in 3 > different Camel context. > If i comit 2 last camel context - mock work. > @ContextConfiguration({ > "/caravan_test.xml", > "/beans-lazy_test.xml", > "/dbunit.xml",