You should be able to drop the interceptor (and any other classes it needs
which aren't already accessible) into the "lib" directory.  This will let
the broker's classloader see the interceptor.


Justin

On Wed, Aug 9, 2017 at 6:25 AM, aragoubi <aymen....@gmail.com> wrote:

> I want to intercept message send by a mqtt client to artemis broker.
> I am following the example "interceptor-client-mqtt".
> My problem is that I am always getting an error
> "java.lang.ClassNotFoundException: SimpleMQTTInterceptor".
> My question is where should I put the interceptor class so that the broker
> could find it?
> Should I put only the class of the interceptor?
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-mqtt-client-interceptor-java-lang-
> ClassNotFoundException-tp4729521.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to