If you don't want want to use Artemis you can also just look into virtual
topics or composite queues. https://activemq.apache.org/virtual-destinations

On Fri, Jul 2, 2021 at 11:17 AM Justin Bertram <jbert...@apache.org> wrote:

> The ability to share a JMS subscription like you want was added in JMS 2.0.
> However, ActiveMQ 5.x doesn't support JMS 2.0. You'd need to use ActiveMQ
> Artemis instead.
>
>
> Justin
>
> On Fri, Jul 2, 2021 at 10:06 AM NawazAli Shaik <
> nawazali.sh...@sainsburys.co.uk> wrote:
>
> > Hi Robbie,
> >
> > Thanks for the response. We are trying to connect from multiple nodes to
> > the durable subscriber to balance the load but it seems active mqueue is
> > not allowing connection with same client ID.
> >
> > If we use different client id from second node it is providing duplicate
> > message to us. We need to build a architecture to pick messages from
> > multiple nodes and process multiple messages from each node at the same
> > time.
> >
> > Please let me know if you have any suggestion to match the above
> > requirement.
> >
> > Thanks & Regards,
> > Nawaz Ali Shaik
> > Integration Support | Digital & Technology Service Operations
> > Sainsbury's Supermarkets Ltd | Walsgrave,Coventry
> > nawazali.sh...@sainsburys.co.uk | Mobile: +44-7405734657
> >
> >  www.sainsburys.co.uk
> >
> >
> > -----Original Message-----
> > From: Robbie Gemmell <robbie.gemm...@gmail.com>
> > Sent: 02 July 2021 16:01
> > To: users@activemq.apache.org
> > Subject: Re: need details of parallel processing
> >
> > ________________________________
> >
> > CAUTION: This message was sent to you from outside of the organisation.
> Do
> > not click links or open attachments unless you are expecting the email
> and
> > know the content is safe.
> >
> > ________________________________
> >
> > It would seem you aren't failing to subscribe, but rather failing to
> > create a Connection upon which attempt could even be made to subscribe.
> The
> > exception looks to give the reason fairly clearly, it seems you are
> trying
> > to create a connection using a ClientID that is already in use for
> another
> > connection. You can only create a single Connection with a given
> ClientID.
> >
> > Either define additional connection factories with different ClientID
> > values configured and use them to create 1 connection each, or stop
> > configuring an explicit ClientID for the factory and set it on each
> > connection immediately after creation, or dont do either and accept the
> > client-generated value (not an option if you want to use durable
> > subscriptions, which require a ClientID be set).
> >
> >
> > On Fri, 2 Jul 2021 at 13:23, NawazAli Shaik <
> > nawazali.sh...@sainsburys.co.uk> wrote:
> > >
> > > Hi Tim,
> > >
> > > Yes you are correct we are failing to subscribe the messages from
> topic.
> > Below is the error which we are getting:
> > >
> > > com.wm.app.b2b.server.jms.JMSSubsystemException: [ISS.0134.9064] Error
> > > creating connection: javax.jms.InvalidClientIDException: Broker:
> > > app-intg-platform-sit-retail-corp-broker-3 - Client: testingcluster
> > > already connected from tcp://
> > >
> > >
> > > Thanks & Regards,
> > > Nawaz Ali Shaik
> > > Integration Support | Digital & Technology Service Operations
> > > Sainsbury's Supermarkets Ltd | Walsgrave,Coventry
> > > nawazali.sh...@sainsburys.co.uk | Mobile: +44-7405734657
> > >
> > >  www.sainsburys.co.uk
> > >
> > >
> > > -----Original Message-----
> > > From: Tim Bain <tb...@alumni.duke.edu>
> > > Sent: 02 July 2021 13:19
> > > To: ActiveMQ Users <users@activemq.apache.org>
> > > Cc: michael.andre.pearce <michael.andre.pea...@me.com.invalid>
> > > Subject: Re: need details of parallel processing
> > >
> > > ________________________________
> > >
> > > CAUTION: This message was sent to you from outside of the organisation.
> > Do not click links or open attachments unless you are expecting the email
> > and know the content is safe.
> > >
> > > ________________________________
> > >
> > > Nawaz,
> > >
> > > Are your threads failing to subscribe to the destination, or failing to
> > receive messages as expected after subscribing? You said that enabling
> the
> > trigger in the client is failing, so am I right to understand that this
> is
> > a failure to subscribe to the topic, not a failure to process messages as
> > expected once successfully subscribed?
> > >
> > > Are there any relevant error messages?
> > >
> > > Thanks,
> > > Tim
> > >
> > > On Fri, Jul 2, 2021, 5:54 AM NawazAli Shaik
> > > <nawazali.sh...@sainsburys.co.uk>
> > > wrote:
> > >
> > > > Hi Tim,
> > > >
> > > > The active mq version is recently updated to Apache ActiveMQ 5.16.2.
> > > > We are trying to subscribe the messages from active mqueue topic
> > parllely .
> > > >
> > > > In webmethods we have triggers to subscribe the messages from
> > > > topics/queues, we are not able to enable the triggers itself from
> > > > the client side.
> > > >
> > > > Thanks & Regards,
> > > > Nawaz Ali Shaik
> > > > Integration Support | Digital & Technology Service Operations
> > > > Sainsbury's Supermarkets Ltd | Walsgrave,Coventry
> > > > nawazali.sh...@sainsburys.co.uk | Mobile: +44-7405734657
> > > >
> > > >  www.sainsburys.co.uk
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Tim Bain <tb...@alumni.duke.edu>
> > > > Sent: 02 July 2021 12:42
> > > > To: ActiveMQ Users <users@activemq.apache.org>
> > > > Cc: michael.andre.pearce <michael.andre.pea...@me.com.invalid>
> > > > Subject: Re: need details of parallel processing
> > > >
> > > > ________________________________
> > > >
> > > > CAUTION: This message was sent to you from outside of the
> > > > organisation. Do not click links or open attachments unless you are
> > > > expecting the email and know the content is safe.
> > > >
> > > > ________________________________
> > > >
> > > > Can you please tell us more about what you're doing and in what way
> > > > it's not working? Is this a queue or a topic? Are your threads
> > > > failing to subscribe to the destination, or failing to receive
> > > > messages as expected after subscribing? What behavior are you
> > > > expecting, and what behavior are you observing instead? Are there any
> > relevant error messages?
> > > >
> > > > Thanks,
> > > > Tim
> > > >
> > > > On Thu, Jul 1, 2021, 3:32 PM NawazAli Shaik <
> > > > nawazali.sh...@sainsburys.co.uk>
> > > > wrote:
> > > >
> > > > > Hi Michael,
> > > > >
> > > > > Thanks for responding. We are using Amazon mqueue which is a
> > > > > managed broker service for active mqueue.
> > > > >
> > > > > The version of active mqueue is 5.15.*.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Nawaz Ali Shaik
> > > > > ________________________________
> > > > > From: michael.andre.pearce <michael.andre.pea...@me.com.INVALID>
> > > > > Sent: 01 July 2021 20:18
> > > > > To: users@activemq.apache.org <users@activemq.apache.org>
> > > > > Subject: RE: need details of parallel processing
> > > > >
> > > > > ________________________________
> > > > >
> > > > > CAUTION: This message was sent to you from outside of the
> > > > > organisation. Do not click links or open attachments unless you
> > > > > are expecting the email and know the content is safe.
> > > > >
> > > > > ________________________________
> > > > >
> > > > > Are you testing ActiveMQ Artemis? If so which version are you
> > > > > having issue with?Sent from my Galaxy
> > > > > -------- Original message --------From: NawazAli Shaik <
> > > > > nawazali.sh...@sainsburys.co.uk> Date: 01/07/2021  18:39
> > > > > (GMT+00:00)
> > > > To:
> > > > > users@activemq.apache.org Subject: need details of parallel
> > > > > processing
> > > > >
> > > > > Hi team,
> > > > >
> > > > >
> > > > >
> > > > > We are working on some POC's to migrate webmethods Unviversal
> > > > > messaging to Active mqueue but seeing a blocker with concurrent
> > > > > threads picking the messages from Active mqueue.
> > > > >
> > > > >  We have webmethods cluster of integration servers connecting to
> > > > > UM servers in current world . webmethods triggers run in
> > > > > concurrrent mode with more than 1 thread and process the
> > > > > messages. we are trying to achieve the same functionality from
> > > > > active mqueue but not enable to subscribe the messages in
> concurrent
> > mode.
> > > > >
> > > > >
> > > > > Thanks & Regards,
> > > > > Nawaz Ali Shaik
> > > > > Integration Support | Digital & Technology Service Operations
> > > > > Sainsbury's Supermarkets Ltd | Walsgrave,Coventry
> > > > > nawazali.sh...@sainsburys.co.uk | Mobile: +44-7405734657
> > > > >
> > > > >  www.sainsburys.co.uk<http://www.sainsburys.co.uk>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > This email and any files transmitted with it are confidential and
> > > > > intended solely for the use of the individual or entity to whom
> > > > > they are
> > > > addressed.
> > > > > If you have received this email in error please notify the system
> > > > > manager (
> > > > > postmas...@sainsburys.co.uk) and
> > > > >  delete it from your system.
> > > > >
> > > > > Sainsbury's Supermarkets Ltd (3261722 England) Registered Offices:
> > > > > 33 Holborn, London, EC1N 2HT
> > > > >
> > > > > Sainsbury’s Argos is a trading name of both:
> > > > > 1) Argos Limited, Registered office: 489-499 Avebury Boulevard,
> > > > > Milton Keynes, United Kingdom, MK9 2NW, registered number:
> > > > > 01081551 (England and Wales); and
> > > > > 2) Sainsbury’s Supermarkets Limited, Registered office: 33
> > > > > Holborn, London, EC1N 2HT, registered number: 03261722 (England and
> > Wales).
> > > > >
> > > > > All companies listed above are subsidiaries of J Sainsbury plc
> > (185647).
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ________________________________
> > > > >
> > > > > This footnote confirms that this email message has been swept by
> > > > > Sainsbury's systems for the presence of computer viruses. Although
> > > > > no viruses were detected, it is no guarantee that this message is
> > > > virus-free.
> > > > > Please direct any concerns regarding suspicious email to the STSD.
> > > > >
> > > > > ________________________________
> > > > > ________________________________
> > > > >
> > > > > This email and any files transmitted with it are confidential and
> > > > > intended solely for the use of the individual or entity to whom
> > > > > they are
> > > > addressed.
> > > > > If you have received this email in error please notify the system
> > > > > manager (
> > > > > postmas...@sainsburys.co.uk) and delete it from your system.
> > > > >
> > > > > Sainsbury's Supermarkets Ltd (3261722 England) Registered Offices:
> > > > > 33 Holborn, London, EC1N 2HT
> > > > >
> > > > > Sainsbury’s Argos is a trading name of both:
> > > > > 1) Argos Limited, Registered office: 489-499 Avebury Boulevard,
> > > > > Milton Keynes, United Kingdom, MK9 2NW, registered number:
> > > > > 01081551 (England and Wales); and
> > > > > 2) Sainsbury’s Supermarkets Limited, Registered office: 33
> > > > > Holborn, London, EC1N 2HT, registered number: 03261722 (England and
> > Wales).
> > > > >
> > > > > All companies listed above are subsidiaries of J Sainsbury plc
> > (185647).
> > > > >
> > > > > ________________________________
> > > > >
> > > > ________________________________
> > > >
> > > > This footnote confirms that this email message has been swept by
> > > > Sainsbury's systems for the presence of computer viruses. Although
> > > > no viruses were detected, it is no guarantee that this message is
> > virus-free.
> > > > Please direct any concerns regarding suspicious email to the STSD.
> > > >
> > > > ________________________________
> > > > ________________________________
> > > >
> > > > This email and any files transmitted with it are confidential and
> > > > intended solely for the use of the individual or entity to whom they
> > are addressed.
> > > > If you have received this email in error please notify the system
> > > > manager (
> > > > postmas...@sainsburys.co.uk) and delete it from your system.
> > > >
> > > > Sainsbury's Supermarkets Ltd (3261722 England) Registered Offices:
> > > > 33 Holborn, London, EC1N 2HT
> > > >
> > > > Sainsbury’s Argos is a trading name of both:
> > > > 1) Argos Limited, Registered office: 489-499 Avebury Boulevard,
> > > > Milton Keynes, United Kingdom, MK9 2NW, registered number: 01081551
> > > > (England and Wales); and
> > > > 2) Sainsbury’s Supermarkets Limited, Registered office: 33 Holborn,
> > > > London, EC1N 2HT, registered number: 03261722 (England and Wales).
> > > >
> > > > All companies listed above are subsidiaries of J Sainsbury plc
> > (185647).
> > > > ________________________________
> > > >
> > > ________________________________
> > >
> > > This footnote confirms that this email message has been swept by
> > Sainsbury's systems for the presence of computer viruses. Although no
> > viruses were detected, it is no guarantee that this message is
> virus-free.
> > Please direct any concerns regarding suspicious email to the STSD.
> > >
> > > ________________________________
> > > ________________________________
> > >
> > > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they are
> > addressed. If you have received this email in error please notify the
> > system manager (postmas...@sainsburys.co.uk) and delete it from your
> > system.
> > >
> > > Sainsbury's Supermarkets Ltd (3261722 England) Registered Offices: 33
> > > Holborn, London, EC1N 2HT
> > >
> > > Sainsbury’s Argos is a trading name of both:
> > > 1) Argos Limited, Registered office: 489-499 Avebury Boulevard, Milton
> > > Keynes, United Kingdom, MK9 2NW, registered number: 01081551 (England
> > > and Wales); and
> > > 2) Sainsbury’s Supermarkets Limited, Registered office: 33 Holborn,
> > London, EC1N 2HT, registered number: 03261722 (England and Wales).
> > >
> > > All companies listed above are subsidiaries of J Sainsbury plc
> (185647).
> > > ________________________________
> > ________________________________
> >
> > This email and any files transmitted with it are confidential and
> intended
> > solely for the use of the individual or entity to whom they are
> addressed.
> > If you have received this email in error please notify the system
> manager (
> > postmas...@sainsburys.co.uk) and delete it from your system.
> >
> > Sainsbury's Supermarkets Ltd (3261722 England)
> > Registered Offices: 33 Holborn, London, EC1N 2HT
> >
> > Sainsbury’s Argos is a trading name of both:
> > 1) Argos Limited, Registered office: 489-499 Avebury Boulevard, Milton
> > Keynes, United Kingdom, MK9 2NW, registered number: 01081551 (England and
> > Wales); and
> > 2) Sainsbury’s Supermarkets Limited, Registered office: 33 Holborn,
> > London, EC1N 2HT, registered number: 03261722 (England and Wales).
> >
> > All companies listed above are subsidiaries of J Sainsbury plc (185647).
> > ________________________________
> >
>

Reply via email to