activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Komandur" <anon2...@komandur.com>
Subject Re: Making FactoryFinder look in a different META-INF setup ...
Date Fri, 04 Aug 2006 04:10:53 GMT
Thanks Hiram. Yes, I did that and got it working.
(I retracted the posting from the Nabble web site, but I guess it was
already forwarded)

On 8/3/06, Hiram Chirino <hiram@hiramchirino.com> wrote:
>
> Hi Komandur,
>
> As long as your META-INF directory is in the classpath it should get
> picked up.  Please note that we do this with the activemq-optional
> jar.  It contains a bunch of FactoryFinder services that activemq can
> successfully look up.
>
> On 8/3/06, Komandur <sridhar@komandur.com> wrote:
> >
> >
> > I have my own discovery agent and I am trying to  make FactoryFinder
> look in
> > the
> >  META-INF of that package. However, it seems to work only when I put
> > myscheme file  here:
> >
> activemq-core/.../META-INF/services/org/apache/activemq/transport/discoveryagent/myscheme
> >
> > How can I make FactoryFinder look in
> >
> MY_AGENT_DIRECTORY/.../META-INF/services/org/apache/activemq/transport/discoveryagent/myscheme
> >
> > This is so that the broker will pick my scheme's discovery factory by
> just
> > adding my discoveryagent jar and not  having to change anything in  the
> > activemq-core jar distribution.
> >
> > Any help is appreciate any help regarding this.
> > (I am using eclipse, and the "..." above is "/target/eclipse/" )
> >
> > Thanks
> > Regards
> > - Sridhar
> > --
> > View this message in context:
> http://www.nabble.com/Making-FactoryFinder-look-in-a-different-META-INF-setup-...-tf2048236.html#a5641353
> > Sent from the ActiveMQ - Dev forum at Nabble.com.
> >
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message