Apache Camel enrich message with file content on request

2013-04-14 Thread nikagra
Hello I've already asked this question on stackoverflow ( link ) but without any success. Basically, the problem is next: I want to consume files by request (one at a time) and possibly several

Re: Bindy: Specify value of @DataField annotation using property placeholders

2013-04-14 Thread Okello Nelson
Hi Claus, Thanks a lot for the clarification. I think such a feature would be handy, and I hope we can have it in subsequent versions of Camel. Kind Regards, Okello Nelson. On Mon, Apr 15, 2013 at 9:38 AM, Claus Ibsen wrote: > No this is not possible. > > And I think pos is defined as an inte

Re: Bindy: Specify value of @DataField annotation using property placeholders

2013-04-14 Thread Claus Ibsen
No this is not possible. And I think pos is defined as an integer? So the type would have to change to String, to allow you to specify the key of the property. It kinda sucks as for people not using the placeholders, they want to know the types. pos = 1 If its a String then would need to type

Bindy: Specify value of @DataField annotation using property placeholders

2013-04-14 Thread Okello Nelson
Hi Guys, I'm using Bindy to unmarshall a CSV file. My model class looks something like this: @CsvRecord( separator = "\\|", skipFirstLine = true) @XmlRootElement( name = "SampleModel" ) public class SampleModel { @DataField( pos = 1 ) private String field1; @DataFie

Re: How to implement concurrent route processing

2013-04-14 Thread Okello Nelson
Hi Claus, The blog entry was extremely useful. I'm using Camel 2.10.4, and I'm assuming "async" was renamed to "threads" in this version. Thanks a lot. Kind Regards, Okello Nelson. On Sat, Apr 13, 2013 at 11:26 AM, Okello Nelson wrote: > Thanks loads, Claus. > > I'm checking it out. I'll let

Re: CXF Example OSGi

2013-04-14 Thread Christian Müller
It works now for the camel 2.10.5-SNAPSHOT without the import of the cxf.xml. But it still doesn't work in Camel 2.11.0 and 2.12-SNAPSHOT. It would be great if you could have a look at it: https://issues.apache.org/jira/browse/CAMEL-6257 Best, Christian On Wed, Apr 10, 2013 at 3:19 AM, Willem ji

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-14 Thread Magnus Palmér
I am going crazy over this one, spent a couple of hours on it but most likely it is due to my inexperience with the camel source code. I thought I had reproduced the problem but now I don't any longer. Anyway, I don't get the infinity retries with 2.11-SNAPSHOT or 2.10.4 when there is an error on

Re: JMS Component - Customized messageConverter

2013-04-14 Thread AbhishekSamuel
Hey Claus, Thanks for the reply. Am new to this configuration with spring. How do i go about calling the setter method for the myMessageConverter object given the syntax am using below ? from("file://inbox/order").to("jms:queue:order?messageConverter=#myMessageConverter"); Thanks Abhishek Samu

Re: Parallel Route processing

2013-04-14 Thread Christian Mueller
I suggest something like: from("cxf:bean:myService") // my preferred web service stack. See [1] .to("bean:processor") // can be a processor, bean, ... instance. See [2] .inOnly("seda:processAsync"); // or activemq, ... See [3], [4] from("seda:processAsync") .to("..."); [1] http://camel.apac

Re: Samples of how you can test none-camel integration solutions using Camel

2013-04-14 Thread Claus Ibsen
Hi Magnus This is an interesting article. I have added a link to it from the Camel articles page. On Fri, Apr 12, 2013 at 7:16 AM, Magnus Palmér wrote: > I did write an article and code of how I have started to prototype testing > IBM WebSphere Message Broker using Camel, Groovy and Spock, a fe

Parallel Route processing

2013-04-14 Thread horyna
Hi, pls, how to realize this in Camel: client call a WS that is comsumed by Camel, this WS should get a response (synch) and next processing should asynch (no more response). Somethink like: from("spring-ws:rootqname:{...").unmarshal(jaxb).process("prepare WS response").marshal(jaxb) <- get respo