L.S.,

Sorry, I don't know how to implement that in ServiceMix.  It'll be
interesting for me as well to hear how this can be done...

Regards,

Gert


gauravsonline wrote:
> 
> ...
> 
> Now, suppose my queue receives a message in the object form of type
> "Message" and I want to  typecast it to  the required type. Then, after
> that I will invoke a webservice and pass that object as thep parameter for
> the operation (think this would be RPC call). e.g. I am posting messages
> of type class A in the queue (here i will use jms producer), then jms
> consumer will retrieve the messages of type class A. No some how I want
> the onMessage(Message msg) method to be trigerred. The parameter msg will
> be type casted to type class A and then I will call a webservice (i think
> it would be RPC using service stubs) which takes this obect of type A as a
> parameter.
> 
>  I was looking at the Active MQ implemenattion of it.  have cerating
> queries related to it.
> 
> 1. How can I invoke the onMessage() method throgh the jms consumer service
> unit?
> 2. How can i invoke the jsr-181 service from inside the onMessage()
> method?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%22Creating-a-protocol-bridge%22-tutorial%27s-configs-are-different-from-Bridge-example%27s-tf3162370s12049.html#a10620877
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to