Question, can i register a camel servlet on the pax web blueprint services?
Now i am using:
Code hier eingeben...
<reference id="httpService" interface="org.osgi.service.http.HttpService"/>
<bean class="org.apache.camel.component.servlet.osgi.OsgiServletRegisterer"
init-method="register" destroy-method="unregister">
<property name="alias" value="${rest.alias}"/>
<property name="httpService" ref="httpService"/>
<property name="servlet" ref="camelServlet"/>
</bean>
<bean id="camelServlet"
class="org.apache.camel.component.servlet.CamelHttpTransportServlet"/>
<bean id="htmlParser"
class="eu.abeel.platform.adapter.customs.nl.webservice.html2rss.service.internal.HtmlParser">
<property name="url" value="${douane.url}"/>
<property name="cssSelector" value="${douane.css.selector}"/>
</bean>
<camelContext id="platform-adapter-customs-nl-webservice-html2rss"
xmlns="http://camel.apache.org/schema/blueprint">
<restConfiguration component="servlet" scheme="{{context.scheme}}"
bindingMode="off" host="{{context.host}}" port="{{context.port}}"/>
<rest path="/">
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.