[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dash in headers as named parameters

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 inside headers from http requests which contains dashes it fails.

On Tue, Jul 3, 2018, 12:43 Claus Ibsen <claus.ibsen@xxxxxxxxx> wrote:

> 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 <jsodpad@xxxxxxxxx> wrote:
> > 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
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2:

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-users/msg03485.html on line 100
Call Stack
10.0006363544{main}( ).../msg03485.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-users/msg03485.html on line 100
Call Stack
10.0006363544{main}( ).../msg03485.html:0