Discussion:
How obtain MuleContext?
richard d
2012-06-18 12:21:31 UTC
Permalink
Does the component have to be defined on a flow in order to get the MuleContext?
<br /><br />
Currently I have a class that called from another java component. This class does not get the MuleContext either by being context aware or via the @Lookup annotation

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
David Dossot
2012-06-18 14:39:32 UTC
Permalink
If the class is handled by Spring, it should receive the context. If you instantiate it directly, it won't.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...