You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/03/29 15:55:08 UTC

[jira] Created: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Spring 3.0 EL conflicts with Camel XML with using Camel EL
----------------------------------------------------------

                 Key: CAMEL-2599
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
             Project: Apache Camel
          Issue Type: Task
          Components: camel-spring
    Affects Versions: 2.3.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.3.0


When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
Or look into Spring how to control this behavior.


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


[jira] Commented: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58608#action_58608 ] 

Claus Ibsen commented on CAMEL-2599:
------------------------------------

Spring 3.0.1 emits {{ContextRefreshedEvent}} 2 times instead of only 1 time as in 2.x.

> Spring 3.0 EL conflicts with Camel XML with using Camel EL
> ----------------------------------------------------------
>
>                 Key: CAMEL-2599
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
> Or look into Spring how to control this behavior.

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


[jira] Commented: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58612#action_58612 ] 

Claus Ibsen commented on CAMEL-2599:
------------------------------------

There is a Spring EL clash with the prefix and suffix tokens as its the same as with Camel
- #{
- }

Either we gotta change the tokens to be something different in Camel to avoid the clash with Spring 3.0.x.
Or look into how to provide a custom Spring {{BeanExpressionResolver}} which can check in Camel first and fallback on the default one.

> Spring 3.0 EL conflicts with Camel XML with using Camel EL
> ----------------------------------------------------------
>
>                 Key: CAMEL-2599
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
> Or look into Spring how to control this behavior.

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


[jira] Commented: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58613#action_58613 ] 

Claus Ibsen commented on CAMEL-2599:
------------------------------------

I recon using #${foo.bar} as the syntax is maybe what we can do as best.

> Spring 3.0 EL conflicts with Camel XML with using Camel EL
> ----------------------------------------------------------
>
>                 Key: CAMEL-2599
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
> Or look into Spring how to control this behavior.

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


[jira] Resolved: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2599.
--------------------------------

    Resolution: Fixed

Using {{\{\{key\}\}}} as the tokens.

trunk: 930255.


> Spring 3.0 EL conflicts with Camel XML with using Camel EL
> ----------------------------------------------------------
>
>                 Key: CAMEL-2599
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
> Or look into Spring how to control this behavior.

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


[jira] Commented: (CAMEL-2599) Spring 3.0 EL conflicts with Camel XML with using Camel EL

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58616#action_58616 ] 

Claus Ibsen commented on CAMEL-2599:
------------------------------------

trunk: 930051

Fixed by adding a workaround for the Spring 3.0 twice ContextRefreshedEvent.

> Spring 3.0 EL conflicts with Camel XML with using Camel EL
> ----------------------------------------------------------
>
>                 Key: CAMEL-2599
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2599
>             Project: Apache Camel
>          Issue Type: Task
>          Components: camel-spring
>    Affects Versions: 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.3.0
>
>
> When using Spring 3.0 its build in EL seems to auto parse XML attributes out of the box. We need to identify how to disable this behavior for the Camel namespace.
> Or look into Spring how to control this behavior.

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