Camel Confusion

2012-10-12 Thread zuff
Dear All, I'm suddenly feel a bit loss on the usage and behaviour of camel and will like to seek clarification.

Re: Unmarshalling stop working

2012-10-12 Thread Willem jiang
How did you call the convert method? I need have a look at bean method of jmsCacheServer. -- 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://willemjiang.blogspot.com/) (English)

Re: Camel Confusion

2012-10-12 Thread Willem jiang
Hi I don't get what the instance that you mention in your questions. Camel will create a new Message when it get the mms from the topic queue. I don't know how you link the "processRequest" route to "sendPesponse" route. It is important for us to answer the question of 4. -- Willem Jiang Re

Re: Missing data when using split / tokenizer

2012-10-12 Thread Gonzalo Vásquez
Can I avoid removíng that line? Or that kind of splitter behavior cannot be overriden? I just need data being split, but with no data loss at all. Thanks again Enviado desde mi iPhone El 11-10-2012, a las 23:00, Willem jiang escribió: > The Splitter will remove the line, as you just use the r

Re: Camel Confusion

2012-10-12 Thread zuff
Hi Williem , Thanks for your prompt reply. Route "processRequest" will consume from activemq:topic:request And generate ticket.xml and place into various folders that will be picked up By a third party software. The third party software will generate various xml files amid placed into differ

Re: Missing data when using split / tokenizer

2012-10-12 Thread Gonzalo Vásquez
Does the splitter store the actual regex match (missing line) in a Header for later retrieval? Enviado desde mi iPhone El 11-10-2012, a las 23:00, Willem jiang escribió: > The Splitter will remove the line, as you just use the regex token like > "C.*?PAG\. 1.*?". > Camel will create a list fo

Re: Unmarshalling stop working

2012-10-12 Thread javendo
Hi Willem. Follows then bean method that jmsCacheServer calls. public POJO postContext(@Body ContextPojo context, Exchange exchange) { return some POJO; } and my test method is: Map headers = new HashMap(); headers.put(Exchange.BEAN_METHOD_NAME, "postContext");

Re: Ampersand in URI query parameter not working (CAMEL-4857 doesn't fix)

2012-10-12 Thread pmcb55
Hi Donald - you're a GENIUS, that worked!! I would never have thought of that solution, but it certainly gets us over our problem. I would certainly think this gotcha should be reflected on the Camel documentation though, just as a warning note... Many thanks, Pat. -- View this message in co

JMS request/reply and aggregate

2012-10-12 Thread realice
Hi, my use case is request/reply via JMS. a request sent to a request queue, and aggregate all the responses on the response queue for further process. Btw, the big boss finally agreed that camel is better than BPEL, but I had go off on a spring integration detour. And I know spring integration has

JNDI QCF -> camelContext, Parsing properties w/ Jasypt?

2012-10-12 Thread bebarnes
Hello, I am trying to encrypt a password, store it in a property file, and refer to it via a property placeholder in my connection factory JmsComponent. I am using the Jasypt component to do the parsing and decryption. However, for some reason, camel is interpreting my property placeholders as l

problem with camel-jpa

2012-10-12 Thread sekaijin
Hello, I have a jpa entity Idoc which OneToOne and OneToMany relationships with three other entity jpa (GmCode, GmHead, and GmIdemCreate). In my junit tests when I find a idoc, I get an object IDoc, and objects GmCode, GmHead, and GmIdemCreate associated with it. I have a jpa entity that refere

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread realice
can anyone help me out here? basically a cxf endpoint request going to request queue and I specify the replyqueue, bunch of messages arrive at response queue, I need to aggregate the responses and make it send a response back as a reply to cxf endpoint. many thanks -- View this message in contex

Re: Camel Confusion

2012-10-12 Thread zuff
I have a feeling that my route is wrongly designed, although it appear to work in a single client environment But I believe problem will arise once they are.multiple client As there aren't any correlation between the processRequest and sendRespond. Are there any EIP that can help to resolve? Tha

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread realice
I drew a picture, hope the gurus can help me out here, many thanks -- View this message in context: http://camel.465427.n5.nabble.com/aggregator-question-how-do-I-send-reply-back-to-the-requestor-tp5720377p5720978.html Sent from th

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread James Carman
Have you tried it without supporting aggregation? Try the simple case and then add complexity once you get that working. On Fri, Oct 12, 2012 at 3:07 PM, realice wrote: > I drew a picture, hope the gurus can help me out here, many thanks >

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread realice
so at the end should work? thanks -- View this message in context: http://camel.465427.n5.nabble.com/aggregator-question-how-do-I-send-reply-back-to-the-requestor-tp5720377p5720981.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread James Carman
You don't have to specify the return trip. Take a look at this test case: http://svn.apache.org/repos/asf/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOutWithNoOutBodyTest.java On Fri, Oct 12, 2012 at 4:26 PM, realice wrote: > so at the end should > work

Re: aggregator question: how do I send reply back to the requestor

2012-10-12 Thread realice
so basically , the aggregate should able to process the replies coming back from the fixed reply queue specified in the jmscomponent? thanks -- View this message in context: http://camel.465427.n5.nabble.com/aggregator-question-how-do-I-send-reply-back-to-the-requestor-tp5720377p5720984.html

Errors when executing ETL Example. Changed derby datasource to mysql

2012-10-12 Thread dbboon99
Hi I am trying to execute the ETL example shipped with Camel 2.10.1. I executed the derby default configuration and it worked fine. However while changing the database to mysql, I get the below error. [mel.example.etl.CustomerEntity] ultPollingConsumerPollStrategy WARN Consumer Consumer[jpa://org