Re: Dash in headers as named parameters

2018-07-03 Thread Claus Ibsen
Hi Ah okay, then yeah then its possible not supported. You are welcome to take a look at the source code and see if you can modify the regex to support dash. We love contributions http://camel.apache.org/contributing On Tue, Jul 3, 2018 at 9:46 PM, bukaj_s wrote: > I am sorry I wrote all messag

Re: Dash in headers as named parameters

2018-07-03 Thread bukaj_s
I am sorry I wrote all messages in context of camel-sql and forgot to mention it. As far as I understand named parameter's regex doesn't take into account dashes in named parameters for sql prepared statement. My questions is if this is correct observation and why is that. If I want to use values i

Re: Dash in headers as named parameters

2018-07-03 Thread Claus Ibsen
Hi Can you tell a bit more where you use those headers? Camel has no restrictions on header names. Its the protocol of the components that may have such as JMS, HTTP etc. On Sun, Jul 1, 2018 at 3:36 PM, bukaj_s wrote: > Hello. > Am I correct if I say we cannot have dashes in named parameters? >

Dash in headers as named parameters

2018-07-01 Thread bukaj_s
Hello. Am I correct if I say we cannot have dashes in named parameters? If so, why is that? Dashes are heavily used in our naming convention for headers. Thanks for clarification. Best regards Bukaj