You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/09/17 17:21:12 UTC

[jira] Created: (CAMEL-2021) Schema versioning for camel-spring schema

Schema versioning for camel-spring schema
-----------------------------------------

                 Key: CAMEL-2021
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.0.0
            Reporter: Guillaume Nodet
             Fix For: 2.1.0


Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Commented: (CAMEL-2021) Schema versioning for camel-spring schema

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54532#action_54532 ] 

Willem Jiang commented on CAMEL-2021:
-------------------------------------

Hi Guillaume,

If I just change the camel-spring's schema's target namespace to "http://camel.apache.org/schema/spring/2.1" , I will introduce a backward compatibility issue. If the user use the "http://camel.apache.org/schema/spring" as the target namespace, he will get the schema validation error. 

Maybe we need to ship two version of camel-spring schema, ones schema has the target namespace "http://camel.apache.org/schema/spring"; the others schema choses "http://camel.apache.org/schema/spring/2.1" as the target namespace.

any thoughts?

Willem


> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Commented: (CAMEL-2021) Schema versioning for camel-spring schema

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54578#action_54578 ] 

Guillaume Nodet commented on CAMEL-2021:
----------------------------------------

Yeah, we need to ship two different schemas.
The unversioned one (which is currently provided) would allow full backward compatibility and also allow users to not care about the camel's version they use.
The versioned one would tie to route definition to a given camel version, but would allow deploying different camel versions in the same osgi container.

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Updated: (CAMEL-2021) Schema versioning for camel-spring schema

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

Guillaume Nodet updated CAMEL-2021:
-----------------------------------

    Fix Version/s: 1.6.2
         Assignee: Guillaume Nodet  (was: Willem Jiang)

There is a problem related to jaxb2 that i've investigated for blueprint, so I'll handle this one.

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.2, 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Updated: (CAMEL-2021) Schema versioning for camel-spring schema

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

Claus Ibsen updated CAMEL-2021:
-------------------------------

    Affects Version/s: 1.6.1
        Fix Version/s: 1.6.3

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-spring
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.3, 2.2.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Commented: (CAMEL-2021) Schema versioning for camel-spring schema

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54673#action_54673 ] 

Guillaume Nodet commented on CAMEL-2021:
----------------------------------------

Backport to branch:

Sending        components/camel-spring/pom.xml
Sending        components/camel-spring/src/main/java/org/apache/camel/spring/handler/CamelNamespaceHandler.java
Sending        components/camel-spring/src/main/resources/META-INF/spring.handlers
Sending        components/camel-spring/src/main/resources/META-INF/spring.schemas
Sending        parent/pom.xml
Transmitting file data .....
Committed revision 823255.


> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.2, 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Updated: (CAMEL-2021) Schema versioning for camel-spring schema

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

Claus Ibsen updated CAMEL-2021:
-------------------------------

    Fix Version/s:     (was: 1.6.2)
                       (was: 2.1.0)
                   2.2.0
       Issue Type: New Feature  (was: Bug)

Its a new feature to be more OSGi friendly, not a bug

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Commented: (CAMEL-2021) Schema versioning for camel-spring schema

Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54531#action_54531 ] 

Willem Jiang commented on CAMEL-2021:
-------------------------------------

We have the same issue on the camel-cxf,camel-osgi,camel-spring-integration, which have the schemas in its bundle.


> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>             Fix For: 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Assigned: (CAMEL-2021) Schema versioning for camel-spring schema

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

Willem Jiang reassigned CAMEL-2021:
-----------------------------------

    Assignee: Willem Jiang

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Willem Jiang
>             Fix For: 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Commented: (CAMEL-2021) Schema versioning for camel-spring schema

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54671#action_54671 ] 

Guillaume Nodet commented on CAMEL-2021:
----------------------------------------

Sending        components/camel-spring/pom.xml
Sending        components/camel-spring/src/main/java/org/apache/camel/spring/handler/CamelNamespaceHandler.java
Sending        components/camel-spring/src/main/resources/META-INF/spring.handlers
Sending        components/camel-spring/src/main/resources/META-INF/spring.schemas
Sending        parent/pom.xml
Transmitting file data .....
Committed revision 823198.

I need to backport that in the 1.x branch and do some more testing, and maybe handle the other schemas (cxf + osgi + spring-integration).

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.2, 2.1.0
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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


[jira] Resolved: (CAMEL-2021) Schema versioning for camel-spring schema

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

Willem Jiang resolved CAMEL-2021.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.6.3)
                       (was: 2.2.0)
                   1.6.2
                   2.1.0

I think we already resolved this issue.

> Schema versioning for camel-spring schema
> -----------------------------------------
>
>                 Key: CAMEL-2021
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2021
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-spring
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.0, 1.6.2
>
>
> Given the camel-spring schema is not versioned, we have no way in OSGi to install two different versions of camel and for a given bundle, choose the version of camel for the routes.

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