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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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

Reply via email to