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

[jira] Created: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
---------------------------------------------------------------------------------

                 Key: CAMEL-2586
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
             Project: Apache Camel
          Issue Type: Improvement
            Reporter: Johan Edstrom
            Priority: Minor
             Fix For: 2.3.0


Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
in a blueprint like manner along the lines of a spring context.





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


[jira] Updated: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Johan Edstrom updated CAMEL-2586:
---------------------------------

    Attachment: camel-blueprint-osgi-resolv.patch

Osgi-resolv patch for camel blueprint context.

> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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


[jira] Resolved: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Claus Ibsen resolved CAMEL-2586.
--------------------------------

    Resolution: Fixed
      Assignee: Claus Ibsen

trunk: 928427.

Thanks Johan for the patch.

> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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


[jira] Updated: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Johan Edstrom updated CAMEL-2586:
---------------------------------

    Attachment: TypeConverters.patch

An additional patch file that takes care of loading in the full TypeConverter registry
from the classpath, this enables routes like 

mina:udp://0.0.0.0:10514 to work as the body otherwise would come in as null without any real error message.

During loading it'll override the existing registry and provide additional converters as follows:

[2010-03-28 15:56:12.629] DEBUG pool-9-thread-2              org.eclipse.osgi.framework.internal.core.BundleHost              edu.ucar.ral.wcsri.logging.internal.OsgiLogAdapter - Using only osgi bundle classloader 
[2010-03-28 15:56:12.629] DEBUG pool-9-thread-2              org.eclipse.osgi.framework.internal.core.BundleHost              edu.ucar.ral.wcsri.logging.internal.OsgiLogAdapter - Loading from osgi bundle using classloader: BundleDelegatingClassLoader for [camel-mina (org.apache.camel.camel-mina)] 
[2010-03-28 15:56:12.705] DEBUG pool-9-thread-2              org.eclipse.osgi.framework.internal.core.BundleHost              edu.ucar.ral.wcsri.logging.internal.OsgiLogAdapter - Found: [class org.apache.camel.component.mina.MinaConverter] 
[2010-03-28 15:56:12.705] DEBUG pool-9-thread-2              org.eclipse.osgi.framework.internal.core.BundleHost              edu.ucar.ral.wcsri.logging.internal.OsgiLogAdapter - Loading converter class: org.apache.camel.component.mina.MinaConverter


> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch, TypeConverters.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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


[jira] Commented: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Claus Ibsen commented on CAMEL-2586:
------------------------------------

Thanks for your efforts on this one, but its really G Nodet who works on the blueprint stuff.

I am actually not keen that he just copied CamelContextFactoryBean source code, as we do change this class quite often so I do not think his approach is feasible in the future.
I think you should get in touch with Nodet and ask if you can help on his camel-blueprint and work together with him to get it into a quality where we can accept it into the official kit.

> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch, TypeConverters.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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


[jira] Reopened: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Johan Edstrom reopened CAMEL-2586:
----------------------------------


Sorry about the second patch and re-opening, but this I think
nails the behavior to pretty much work exactly as a spring camel context.

> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch, TypeConverters.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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


[jira] Resolved: (CAMEL-2586) Camel-blueprint component enhancement with an osgi class resolver from camel-osgi

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

Claus Ibsen resolved CAMEL-2586.
--------------------------------

    Resolution: Fixed

trunk: 928707.

> Camel-blueprint component enhancement with an osgi class resolver from camel-osgi
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2586
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2586
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Johan Edstrom
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: camel-blueprint-osgi-resolv.patch, TypeConverters.patch
>
>
> Simple patch to allow the camel-blueprint namespacehandler resolve components outside the core language.
> This makes it possible to use blueprint and routes such as from:myOwnComponent or from:jms
> in a blueprint like manner along the lines of a spring context.

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