AW: [Q] Camel header set in the fluent route builder gets lost

2018-07-05 Thread Philipp Zach
Hello John! Thanks a lot for your solution. The header is set now correctly. Best regards, Philipp. Von: John Poth Gesendet: Donnerstag, 5. Juli 2018 20:33:18 An: users@camel.apache.org Betreff: Re: [Q] Camel header set in the fluent route builder gets lost

Re: [Q] Camel header set in the fluent route builder gets lost

2018-07-05 Thread John Poth
Hello Philipp! Welcome! If I'm reading this correctly, you are setting the "queryEngine" header to simple("${in.header.JMSDestination}" which at runtime will translate to a org.apache.activemq.command.ActiveMQQueue object I believe. This will get dropped by Camel [1]. You can verify this by settin

[Q] Camel header set in the fluent route builder gets lost

2018-07-05 Thread Philipp Zach
Hello Everybody! I am relatively new to camel, so this might be a common mistake. Also I am new to the mailing list, so please excuse me when I am doing something wrong here or if I am not sticking to the proper procedure. I am trying to set up an application with several routes, inluding a sca

Re: JMS: override Camel header type conversions?

2018-02-13 Thread Claus Ibsen
Hi Yeah we should add a new option where you can configure to use an iso-xxx date. Then new users can just turn that on. Matt, you are welcome to log a JIRA ticket On Mon, Feb 12, 2018 at 4:10 PM, Alex Dettinger wrote: > Same as Quinn, I would vote for the ISO-8601 standard. However, I would >

Re: JMS: override Camel header type conversions?

2018-02-12 Thread Alex Dettinger
Same as Quinn, I would vote for the ISO-8601 standard. However, I would consider delaying the change to camel 3.0 or making it optional. On Mon, Feb 12, 2018 at 9:50 PM, Quinn Stevenson < qu...@pronoia-solutions.com> wrote: > If it’s going to change, I would vote for the ISO-8601 format - that’s

RE: JMS: override Camel header type conversions?

2018-02-12 Thread Probert, Matt
20:51 To: users@camel.apache.org Subject: Re: JMS: override Camel header type conversions? If it’s going to change, I would vote for the ISO-8601 format - that’s what I use for all my timestamps in logs and such. > On Feb 12, 2018, at 12:07 PM, Claus Ibsen wrote: > > Hi > > Ma

Re: JMS: override Camel header type conversions?

2018-02-12 Thread Quinn Stevenson
If it’s going to change, I would vote for the ISO-8601 format - that’s what I use for all my timestamps in logs and such. > On Feb 12, 2018, at 12:07 PM, Claus Ibsen wrote: > > Hi > > Maybe it sounds like a better idea to use a iso-xxx date to be > consistent, instead of a toString that may b

Re: JMS: override Camel header type conversions?

2018-02-12 Thread Claus Ibsen
Hi Maybe it sounds like a better idea to use a iso-xxx date to be consistent, instead of a toString that may be OS locale dependent etc. Or it could store the value as a long value of the epoc. On Mon, Feb 12, 2018 at 12:19 PM, Quinn Stevenson wrote: > Sorry - ignore that. That feature is u

RE: JMS: override Camel header type conversions?

2018-02-12 Thread Probert, Matt
: override Camel header type conversions? Sorry - ignore that. That feature is used to customize the mapping of the key names - not the values. The only way I can think of right off hand is to add you’re own bean that manipulates the header values before you send them. > On Feb 12, 2018,

Re: JMS: override Camel header type conversions?

2018-02-12 Thread Quinn Stevenson
Sorry - ignore that. That feature is used to customize the mapping of the key names - not the values. The only way I can think of right off hand is to add you’re own bean that manipulates the header values before you send them. > On Feb 12, 2018, at 10:14 AM, Quinn Stevenson > wrote: > > Y

Re: JMS: override Camel header type conversions?

2018-02-12 Thread Quinn Stevenson
You can provide your own implementation using the jmsKeyFormatStrategy URI Option. > On Feb 12, 2018, at 8:34 AM, Probert, Matt > wrote: > > When messages are produced to ActiveMQ, Camel JmsBinding converts > java.util.Date message headers to string via Date.toString(). > > I want to overr

JMS: override Camel header type conversions?

2018-02-12 Thread Probert, Matt
When messages are produced to ActiveMQ, Camel JmsBinding converts java.util.Date message headers to string via Date.toString(). I want to override the conversion, to give IS0 8601 strings. Is there a way to inject a custom JmsBinding to do it? Or some other standard way? I don't want to modify

problem Settting camel header value to java enum value

2016-06-08 Thread J-
Trying to set the header to to an enum value but seem like it's only setting it to a string using camel 2.17.1:   ${type:org.apache.camel.Exchange.FILE_NAME} But the value in the header is a string that equals: "org.apache.camel.Exchange.FILE_NAME" What am i doing wrong?? Also tried wit

Re: Camel Header

2016-02-23 Thread John D. Ament
mongodb collection. You'll need to map the message into those structures. John On Mon, Feb 22, 2016 at 10:56 PM Demon Hunter < claire.chanm...@newgens.com.sg> wrote: > u mean data type i wanna store in camel header?it's string type. > > For example, The message I want

Re: Camel Header

2016-02-22 Thread Demon Hunter
u mean data type i wanna store in camel header?it's string type. For example, The message I want to store in one header is about 9KB data which i want to store in camel header. header name :MyCamelHeader value : that 9kb message. Thanks -- View this message in context: http://camel.4

Re: Camel Header

2016-02-22 Thread John D. Ament
The storage of headers is completely up to whatever component you're using to store the data. What type of component are you using? John On Mon, Feb 22, 2016 at 10:39 PM Demon Hunter < claire.chanm...@newgens.com.sg> wrote: > Hi, > > I would like to know how large data ca

Camel Header

2016-02-22 Thread Demon Hunter
Hi, I would like to know how large data camel header can store? because i'm facing difficult to store large data to store camel header. any pointer should be appreciated. Thanks Crusader -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Header-tp5778081.html Sent

Camel Header

2016-02-22 Thread Demon Hunter
Hi, I would like to know how large data camel header can store? because i'm facing difficult to store large data to store camel header. any pointer should be appreciated. Thanks Crusader -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Header-tp5778080.html Sent

Re: Setting optional parameters with Camel Header for camel-smpp

2010-04-19 Thread Claus Ibsen
arameters, I can't seem to be able to see that inside the camel >>> SmppBinding. >>> >>> So I can't think of a way that it could be done. >>> >>> - >>> Ioannis Canellos >>> -- >>> View this message in context: >>&g

Re: Setting optional parameters with Camel Header for camel-smpp

2010-04-19 Thread lekkie
> optional >> parameters, I can't seem to be able to see that inside the camel >> SmppBinding. >> >> So I can't think of a way that it could be done. >> >> - >> Ioannis Canellos >> -- >> View this message in context: >&g

Re: Setting optional parameters with Camel Header for camel-smpp

2010-04-16 Thread Claus Ibsen
nellos > -- > View this message in context: > http://old.nabble.com/Setting-optional-parameters-with-Camel-Header-for-camel-smpp-tp28257768p28258300.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Com

Re: Setting optional parameters with Camel Header for camel-smpp

2010-04-15 Thread iocanel
can't think of a way that it could be done. - Ioannis Canellos -- View this message in context: http://old.nabble.com/Setting-optional-parameters-with-Camel-Header-for-camel-smpp-tp28257768p28258300.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Setting optional parameters with Camel Header for camel-smpp

2010-04-15 Thread lekkie
Is there a way to set optional parameters for SMS messages sent to an smpp endpoint? kr. -- View this message in context: http://old.nabble.com/Setting-optional-parameters-with-Camel-Header-for-camel-smpp-tp28257768p28257768.html Sent from the Camel - Users (activemq) mailing list archive at