Hi Tim,
Thanks for your response. But as I said, I am not using Artemis broker. I
am using the classic 5.18.3 broker which supports the Shared Subscription
but the activemq-client for classic broker doesn't support it therefore I
was trying to find out the client library which can support that.

On Tue, Jan 2, 2024 at 5:51 PM Timothy Bish <tabish...@gmail.com> wrote:

> On 1/2/24 17:29, Paras Jain wrote:
> > Hi,
> >
> > I am trying to implement an ActiveMQ client with sharedconsumer
> > functionality with ActiveMQ 5.18.3. The activemq-client (
> > https://mvnrepository.com/artifact/org.apache.activemq/activemq-client)
> > doesn't seem to support SharedConsumer functionality yet. When I use
> > Artemis Client (
> >
> https://mvnrepository.com/artifact/org.apache.activemq/artemis-jms-client)
> > to connect to 5.18.3the connectionFatory.createContext(); is timing out.
> > The same code succeeds if I try to connect to artemis broker. Is there a
> > way to use artemis client with classic ActiveMQ?
> >
> You cannot use the Artemis client to connect to the ActiveMQ 'Classic'
> broker as that client uses the Artemis Core protocol which is not
> supported in the ActiveMQ 'Classic' series brokers. The 5.x and current
> 6.x releases do not implement shared consumer functionality as defined
> in the Jakarta JMS specs.  You could probably achieve what you want
> using the ActiveMQ virtual topic consumer feature but it would not be a
> fully vendor neutral solution.
>
> The Artemis broker supports shared consumers using the Artemis JMS /
> Jakarta clients or using the Qpid JMS client.
>
> --
> Tim Bish
>
>

-- 
Regards,
Paras

Reply via email to