Hi Claus ,
Thanks for the very prompt reply.
I guess the header is already in the header, although i may have
misinterpret your message.
part of my route
<route>
<from uri="weblogic:topic:mytopic">
<bean ref="mybean"/> -> triggered some asynchronized call
which when completed will triggered a
template.sendBody(mycomponent:completed, obj); from another bean.
</route>
<route>
<from uri="mycomponent:completed"/>
<to uri="log:myclasspath/>
</route>
__________________________________
public class RequestListener
{
public void doIt( Exchange exchange, Details details)
{
....
exchange.getOut().setBody( dummyResult ) ; --> if i do
this here, the temp topic works.
}
}
_____________________________________
public class ProcessResult
{
private ProducerTemplate template;
public void sendComplete(Result result)
{
//Currently, I'm hardcoding the dynamic topic based on the
dynamic topic name generated before launching camel
template.sendBody("weblogic:temp:topic:...", result);
}
...
}
Best Regards,
Zuff
--
View this message in context:
http://camel.465427.n5.nabble.com/Issue-with-temporary-topic-tp5716869p5717492.html
Sent from the Camel - Users mailing list archive at Nabble.com.