I am trying to follow this example to set the context.. and failing.. is
there a complete example on setting the context.
<jsr181:endpoint ...>
<jsr181:pojo>
<bean class="xxx">
<property name="context" ref="context" />
</bean>
</jsr181:pojo>
</jsr181:endpoint>
gnodet wrote:
>
> Just add a the following lines in your POJO:
> public void setContext(ComponentContext context) {
> ...
> }
> The method will be called by the component when the service unit is
> started :)
>
> Cheers,
> Guillaume Nodet
>
> On 3/24/06, Nicolasj <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> I'm using a Pojo WS using annotation based on the soap-binding sample.
>>
>> All the deployement is working nicely and I can acces to my WS.
>> Now, from my Pojo class I would like to create and send a message to
>> another
>> component registered in servicemix.
>> How could I get the "ComponentContext" and where should I define the
>> destinationService for my Pojo class ?
>>
>> Thanks in advance,
>>
>> Nicolas
>> --
>> View this message in context:
>> http://www.nabble.com/get-Context-from-Pojo-Webservice-t1335655.html#a3568806
>> Sent from the ServiceMix - User forum at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/get-Context-from-Pojo-Webservice-tf1335655.html#a6048587
Sent from the ServiceMix - User forum at Nabble.com.