You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by jb...@nanthrax.net on 2009/03/03 10:13:34 UTC
Components Roadmap
Hi Guys,
I have added a section in the wiki components list to define the roadmap on the SMX components :
http://cwiki.apache.org/confluence/display/SM/Components+list
Feel free to delete/add/change this roadmap.
Regards
JB
Re: Components Roadmap
Posted by gumba <an...@gmail.com>.
How can I create a new component which points to my activiti instance. Have
aloof on my Camel context which I want to implement:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn"
xmlns:e="http://schemas.xmlsoap.org/soap/envelope/"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
">
<bean id="camel" class="org.activiti.camel.CamelBehaviour">
<constructor-arg index="0">
<list>
<bean class="org.activiti.camel.SimpleContextProvider">
<constructor-arg index="0" value="gpi" />
<constructor-arg index="1" ref="camelProcessFromActiviti" />
</bean>
</list>
</constructor-arg>
</bean>
<camelContext id="camelProcess"
xmlns="http://camel.apache.org/schema/spring">
<route streamCache="true">
<from
uri="jbi:endpoint:http://servicemix.apache.org/samples/bridge/pipeline/endpoint"/>
<choice>
<when>
<xpath>//method='startProcess'</xpath>
<to uri="xslt:bridge.xslt"/>
<to uri="bean:initiateProcess"/>
</when>
<otherwise>
<to uri="file:/Users/paundejr/Desktop/falhou/reci"/>
</otherwise>
</choice>
</route>
</camelContext>
<camelContext id="camelProcessFromActiviti"
xmlns="http://camel.apache.org/schema/spring">
<route streamCache="true">
<from uri="activiti:gpi:serviceTask1"/>
<to uri="file:/Users/paundejr/Desktop/reci"/>
</route>
</camelContext>
</beans>
For this I have to create a endpoint component called activiti, I used this
link to do that:
http://camel.apache.org/creating-a-new-camel-component.html
http://camel.apache.org/creating-a-new-camel-component.html
when I deploy on Servicemix 4.3.0 I got the following error
/Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint: activiti://gpi:serviceTask1 due to: No component found
with scheme: activiti
/
What am I doing wrong? could you help me?
-----
Gumba
--
View this message in context: http://servicemix.396122.n5.nabble.com/Components-Roadmap-tp441106p5713989.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.