[
https://issues.apache.org/activemq/browse/CAMEL-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54190#action_54190
]
Claus Ibsen commented on CAMEL-916:
-----------------------------------
See the new camel-servlet component which may be useable for you
http://camel.apache.org/servlet.html
> Create a new component that uses the OSGi HttpService to accomplish what
> came-jetty currently does
> --------------------------------------------------------------------------------------------------
>
> Key: CAMEL-916
> URL: https://issues.apache.org/activemq/browse/CAMEL-916
> Project: Apache Camel
> Issue Type: New Feature
> Affects Versions: 1.4.0
> Reporter: Michael Murphree
> Fix For: 2.1.0
>
>
> The current camel-jetty component starts up a new Jetty server instance to
> host listeners for producing endpoints. It would be nice if, in an OSGi
> environment, there were a component that uses the OSGi HttpService to create
> a producing endpoint instead.
> One of the restrictions over this component would be that the end user would
> not be able to configure the port number in the URI as the HttpService uses
> the system property org.osgi.services.http.port to determine the port setting.
> Use case:
> I should be able to configure a route in a manner similar to camel-jetty:
> ...
> from("osgi-http:localhost:8192/services/myservice").
> .to(...)
> ...
> The host name (or address) and port number would necessarily be ignored.
> See
> http://www.nabble.com/Proxying-web-services-tt19498936s22882.html#a19536118
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.