camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-3162) Simple language work not properly together with Springs PropertyPlaceholderConfigurer
Date Sun, 26 Sep 2010 16:10:40 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-3162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-3162.
--------------------------------

      Assignee: Claus Ibsen
    Resolution: Working as Designed

Its a Spring problem.

When you use {{ignoreUnresolvablePlaceholders}} in Spring then it do *not* the endpoint uri
as is, but it removes the ${ } anyway.
And therefore Camel cannot see those.

Create a ticket at Spring to add an option or change the behavior its {{ignoreUnresolvablePlaceholders}}
so it leave the ${ } as is.

But we have just today added an alternative simple language syntax so you can use $simple{
} to avoid the Spring clash.

Also Spring has options to configure its start/end token AFAIK so you can use those to change
Spring to *not* use ${ } but something else.

> Simple language work not properly together with Springs PropertyPlaceholderConfigurer
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3162
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3162
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Christian Mueller
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>         Attachments: CAMEL-3162_unittest.patch
>
>
> I defined the to endpoint in my properties file as "file://target/outBox?fileName=test-${date:now:yyyyMMdd}.txt"
and the written file has the name "test-now:yyyyMMdd.txt" instead of "test-20100926".
> See also [CAMEL-304|https://issues.apache.org/activemq/browse/CAMEL-304]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message