<div><br></div>   Andre,<div><br></div><div>   Not sure I understand completely the problem you are facing, but it should be straight forward. Can you show us the configuration you are using?</div><div><br></div><div>   For simple unit tests, we have these:</div>
<div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/DroolsEndpointChannelTest.java">https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/DroolsEndpointChannelTest.java</a></div>
<div><br></div><div><a href="https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/DroolsEndpointChannelTest.java"></a><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/CamelEndpointActionInsertTest.java">https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/CamelEndpointActionInsertTest.java</a></div>
<div><br></div><div>  </div><div>   Also here you can see an alternative approach that does not use channels:</div><div><br></div><div><a href="http://blog.athico.com/2011/01/drools-content-based-routing-with-camel.html">http://blog.athico.com/2011/01/drools-content-based-routing-with-camel.html</a></div>
<div><br></div><div>   Edson</div><div><br></div><div><br></div><div><a href="https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-camel/src/test/java/org/drools/camel/component/CamelEndpointActionInsertTest.java"></a>   <br>
<br><div class="gmail_quote">2011/6/9 Andre <span dir="ltr">&lt;<a href="mailto:morpheusandre@web.de">morpheusandre@web.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi,<br>
i´m new in the drools-dev family and just playing around: while playing, i<br>
can´t get over the following problem:<br>
i configurated drools/camel/activeMQ, i also receive messsages and can<br>
maipulate the endpoints and so on but when i try to create a new exchange<br>
(actually i´m copying on older one, because trying to type new JmsMessage()<br>
ends in an &quot;could not resolve constructor<br>
org.apache.camel.component.jms.JmsMessage[]&quot;)<br>
<br>
So at the end ,if i´m just manipulating an copied exchange, the exchange<br>
will not be send by camel directly.<br>
my Question is:<br>
How do i use the drools/camel Integration Component to send<br>
exchanges/messages out of the drl/then-part?<br>
or which context can i use in the drl (e.g: DroolsEndpoint properties)/ is<br>
there any context available?<br>
<br>
thx, André<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-Camel-Integration-sending-messages-tp3043844p3043844.html" target="_blank">http://drools.46999.n3.nabble.com/Drools-Camel-Integration-sending-messages-tp3043844p3043844.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>