Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-528

using the new ClientFactory for the JSR181 proxy inside jsr181 service unit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0-M2
    • 3.0
    • servicemix-jsr181
    • None

    Description

      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 <gmane.x.bradtwurst-2pMamKoQTv4@public.gmane.org> 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

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            bradtwurst James Bradt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: