If you want to go through the NMR, you need to use the service QName of
the RegisterHandler as the target of a JBI exchange that you create and
send,
You can also use spring to inject beans into your WorkHandler.

On Tue, Apr 15, 2008 at 7:02 PM, mayurd <[EMAIL PROTECTED]> wrote:

>
> I have 2 servicemix-bean-service-unit's. One bean SU is extending
> ComponentSupport and implementing MessageExchangeListener (WorkHandler
> below) and another SU is extending TransformComponentSupport
> (RegisterHandler below).
>
> public class WorkHandler extends ComponentSupport implements
> MessageExchangeListener
>
> public class RegisterHandler extends TransformComponentSupport
>
> I want to use RegisterHandler (and several others) from WorkHandler.
>
> However on calling RegisterHandler from WorkHandler, i receive exception
> TypeNotInitializedException, call init().
>
> I would appreciate if anybody can help me on how to do this properly?
>
> Mayur
> --
> View this message in context:
> http://www.nabble.com/Using-one-bean-SU-from-another-bean-SU-tp16702865p16702865.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to