You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/07/08 07:10:07 UTC

[jira] Created: (CAMEL-1809) Share the Jetty connector across camel context

Share the Jetty connector across camel context
----------------------------------------------

                 Key: CAMEL-1809
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1809
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-jetty
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 1.6.2, 2.0.0


I got the user requirement that he just can use one socket port in his application, and his application has lots of camel context.
Current camel-jetty component can't share the connector across the camel contexts,  he had to setup different port the each JettyComponent in different camel context.

Since the socket port is a global resource, we can use a static map to keep the track of the connector. In this way , we can share the Jetty connector in different camel context which host in one JVM.

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


[jira] Resolved: (CAMEL-1809) Share the Jetty connector across camel context

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

Willem Jiang resolved CAMEL-1809.
---------------------------------

    Resolution: Fixed

trunk
http://svn.apache.org/viewvc?rev=792038&view=rev
camel 1.x branch
http://svn.apache.org/viewvc?rev=792041&view=rev

> Share the Jetty connector across camel context
> ----------------------------------------------
>
>                 Key: CAMEL-1809
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1809
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jetty
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 1.6.2, 2.0.0
>
>
> I got the user requirement that he just can use one socket port in his application, and his application has lots of camel context.
> Current camel-jetty component can't share the connector across the camel contexts,  he had to setup different port the each JettyComponent in different camel context.
> Since the socket port is a global resource, we can use a static map to keep the track of the connector. In this way , we can share the Jetty connector in different camel context which host in one JVM.

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


[jira] Updated: (CAMEL-1809) Share the Jetty connector across camel context

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

Hadrian Zbarcea updated CAMEL-1809:
-----------------------------------

    Fix Version/s:     (was: 2.0.0)
                   2.0-M3

> Share the Jetty connector across camel context
> ----------------------------------------------
>
>                 Key: CAMEL-1809
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1809
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-jetty
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 1.6.2, 2.0-M3
>
>
> I got the user requirement that he just can use one socket port in his application, and his application has lots of camel context.
> Current camel-jetty component can't share the connector across the camel contexts,  he had to setup different port the each JettyComponent in different camel context.
> Since the socket port is a global resource, we can use a static map to keep the track of the connector. In this way , we can share the Jetty connector in different camel context which host in one JVM.

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