Re: Add header for each message

2010-08-31 Thread Willem Jiang
senthil.arumugam wrote: Hi Willem, Our use case is, we need to save or update the entity. For eg, We have a message of instance Foo and we need to decide whether the instance to be saved or updated etc. This behavior is common across all the messages. So we are wrapping Foo (actual message en

Re: Error using inOut pattern

2010-08-31 Thread Willem Jiang
Hi, Can you just insert a processor after the "activemq:mm01.rin" endpoint? Maybe something is wrong with your internalViewer bean. Willem Muhammad Ichsan wrote: Dear All I have problem related to inOut in my attachment. The problem is that, Exchange.getIn().getBody() is null after inOut inv

Re: Error using inOut pattern

2010-08-31 Thread Muhammad Ichsan
On Tue, Aug 31, 2010 at 2:07 PM, Willem Jiang wrote: > Hi, > > Can you just insert a processor after the "activemq:mm01.rin" endpoint? > Maybe something is wrong with your internalViewer bean. > Thanks for your reply. Here I've just attached my complete code to make it easier to analyze. This is

Re: Error using inOut pattern

2010-08-31 Thread Willem Jiang
Muhammad Ichsan wrote: On Tue, Aug 31, 2010 at 2:07 PM, Willem Jiang > wrote: Hi, Can you just insert a processor after the "activemq:mm01.rin" endpoint? Maybe something is wrong with your internalViewer bean. Thanks for your reply. Here I've just

Re: Error using inOut pattern

2010-08-31 Thread Muhammad Ichsan
On Tue, Aug 31, 2010 at 2:32 PM, Willem Jiang wrote: > Muhammad Ichsan wrote: > >> >> Thanks for your reply. Here I've just attached my complete code to make it >> easier to analyze. This is strange. >> >> I can't see any code from your mail. > Can you just past into the mail, I think the user ma

Possibility of using inOut

2010-08-31 Thread Muhammad Ichsan
Dear All I want to know if this is possible How to implement communicator then? Thanks -- ~The best men are men who benefit to others http://michsan.web.id 一緒に勉強しましょう! Yang berkualitas memang beda rasanya! http://rizqi-cookies.com

Re: Possibility of using inOut

2010-08-31 Thread Claus Ibsen
Read chapter 7 in the Camel book how to do request/reply over JMS. The 2nd route (amq:input) will "detect" the JMSReplyTo header automatic and automatic return back the reply. So you don't have to do that manually. Just at the end of the routing the message is send back to the JMSReplyTo destinati

Re: Possibility of using inOut

2010-08-31 Thread Willem Jiang
Muhammad Ichsan wrote: Dear All I want to know if this is possible How to implement communicator then? Thanks As the can't work for you, I think you can define the routes like this, the bean:communication need to make sure it sets a right correlationId message header.

Re: SMPP type connection.

2010-08-31 Thread Pavel Suhotyuk
We haven't time to analyze jsmpp library. We switch connection to transmitter/receiver mode. Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/SMPP-type-connection-tp2796517p2798133.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

SMPP data encoding.

2010-08-31 Thread Pavel Suhotyuk
Hello, I have to send SMS with message body in UCS2 encoding. According to SMPP spec v3.4, "data_coding" must contain b1000 UCS2 (ISO/IEC-10646) value. I've set the "encoding" parameter in the connection string to UTF-16, but it seems that camel-smpp plugin is always sending b0001 IA5 (CC

Re: SMPP type connection.

2010-08-31 Thread Christian Mueller
Hello Pavel! Sorry for the late reply. Why you have to use the "transceiver" type? The systemType is used to categorize the type of ESME (External Short Message Entity) that is binding to the SMSC, as described in the wiki here [1]. You are looking for the bindType, which is set automatically b

Re: (newbie) process() method eating Exchange packet

2010-08-31 Thread Glen Mazza
Thanks, Willem, the link helped clarify things for me. One more question: in Camel, what is the best way of determining of what type the body instance is, so I will know whether I need to use your suggestions of copying the message back into the body or use convertBodyTo(String.class)? Is it

Re: SMPP data encoding.

2010-08-31 Thread Christian Mueller
Hello Pavel! I raised a JIRA for it: https://issues.apache.org/activemq/browse/CAMEL-3093 Cheers, Christian -- View this message in context: http://camel.465427.n5.nabble.com/SMPP-data-encoding-tp2798167p2798585.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Re: SMPP data encoding.

2010-08-31 Thread Christian Mueller
Hello Pavel! I committed a fix for this issue. Please feel free to try Camel 2.5-SNAPSHOT whether this fix resolve your issue. It introduce a new option "dataCoding" which should be set to "8" in your case. Cheers, Christian -- View this message in context: http://camel.465427.n5.nabble.com/SM

Re: Camel-QuickFIX jar issues

2010-08-31 Thread vcheruvu
Hi Hadrian, Have you got any response for my second question? Cheers, -Vid- -- View this message in context: http://camel.465427.n5.nabble.com/Camel-QuickFIX-jar-issues-tp2652022p2798739.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Possibility of using inOut

2010-08-31 Thread Muhammad Ichsan
2010/8/31 Claus Ibsen > Read chapter 7 in the Camel book how to do request/reply over JMS. > > The 2nd route (amq:input) will "detect" the JMSReplyTo header > automatic and automatic return back the reply. So you don't have to do > that manually. > Just at the end of the routing the message is se