using the new ClientFactory for the JSR181 proxy inside jsr181 service unit
---------------------------------------------------------------------------
Key: SM-528
URL: https://issues.apache.org/activemq/browse/SM-528
Project: ServiceMix
Issue Type: Improvement
Components: servicemix-jsr181
Affects Versions: 3.0-M2
Reporter: James Bradt
Priority: Minor
Unfortunately, you currently need a reference to the JBI container (or a
ComponentContext).
But neither the JBIContainer nor the ComponentContext are available at the
time the
xbean file is loaded.
This could now be solved by using the new ClientFactory which is available
in JNDI, but has
been coded yet. Could you please raise a JIRA for that ?
For now, you need to create the JbiProxy programmaticaly from your POJO.
On 8/8/06, James Bradt <[EMAIL PROTECTED]> wrote:
>
> I've taken a look at the unit test for jsr181 proxy (and the small amount
> of
> info in the wiki area), but I can't seem to answer this question.
>
> Can a jsr181:proxy tag be defined within the xbean.xml for a jsr181
> service
> unit, or can it only be used within a lwcontainer service unit?
>
> If I can use it within a jsr181 service unit, what is the container name
> that I should I reference within the jsr181:proxy element?
>
> Thanks,
> James
>
>
>
>
--
Cheers,
Guillaume Nodet
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira