Questions tagged [jms-topic]

A distribution mechanism for publishing messages that are delivered to multiple subscribers.

The use case for JMS Topic includes these considerations:

  1. A distribution mechanism for publishing messages that are delivered to multiple subscribers.
  2. Multiple consumers require delivery of the message.
  3. There is a timing dependency between publishers and subscribers. The publisher must create a subscription in order for clients to be able to subscribe. The subscriber must remain continuously active to receive messages, unless it has established a durable subscription. In that case, messages published while the subscriber is not connected will be redistributed whenever it reconnects.
300 questions
1
vote
1 answer

Subscribing and reading from Topic: ActiveMQ & Python

I am trying to subscribe to a topic in ActiveMQ running in localhost using stompest for connecting to the broker. Please refer below code: import os import json from stompest.sync import Stomp from stompest.config import StompConfig CONFIG =…
Saurav Pradhan
  • 115
  • 2
  • 11
1
vote
1 answer

Not able to configure durable subscriber in JMS with Spring Boot

I'm using Apache ActiveMQ 5.15.13 and Spring Boot 2.3.1.RELEASE. I'm trying to configure durable subscriber, but I'm not able do do. My application on runtime gives me an error as Cause: setClientID call not supported on proxy for shared Connection.…
Mohit Darmwal
  • 275
  • 1
  • 5
  • 21
1
vote
0 answers

Outbound-channel-adapter/Spring JMS starting too many MQ connections

I am using jms:outbound-channel-adapter. We noticed that application server is starting way too many MQ connections. Application ultimately exhausts the maxChannel limit of MQ Server and starts getting : Caused by: com.ibm.mq.MQException:…
Ramneek Handa
  • 53
  • 1
  • 10
1
vote
1 answer

Topic subscriber didn't receive a message

I recently work with Topic in jms and I have a problem. My TopicSubscriber didn't receive message from publisher and I don't understand why. Here is my TopicPublisher: public class Publisher { private static final String CONNECTION_URL =…
Mefisto_Fell
  • 876
  • 1
  • 10
  • 30
1
vote
1 answer

unable to make activemq consumer to deque

I am creating a JMS chat application using activemq and spring boot. I am trying to send message from producer to multiple subscribers. I am able to send message i.e message is en-queued. but in my receiver part message is unable to de-queue.` I am…
Lipsa Patra
  • 49
  • 1
  • 5
1
vote
0 answers

MQ - COA correlation issue after change of remote destination from Queue to Topic

Seeking for an advise on the below faced COA correlation issue. Background: there is an application A which is feeding data to an application B via MQ (nothing special - remote queue def pointing to the local q def on remote QM). Where the sending…
Milkywayfarer
  • 910
  • 1
  • 9
  • 25
1
vote
1 answer

Jmeter JMS Publisher Issue

I am trying pushing messgae through jmeter JMS publisher in solace queue. But I am getting below error. Error: javax.jms.JMSException: Error creating connection - internal error (403: Client Username Is Shutdown) Also, please confirm on…
1
vote
1 answer

ActivationConfigProperty with configurable clientId

Using liberty 18.0.0.1 and a MDB like this : @MessageDriven( activationConfig = { @ActivationConfigProperty(propertyName = "destination", propertyValue = "distributedACLCache"), …
bwa
  • 71
  • 7
1
vote
1 answer

Kafka message publishing failure for random valid messages , how to fix this issue?

We are using kafka in our app , we are sending too many many messages , each message is small in size , what i mean message size is not issue , is their any issue if you try to publish toooo many message to kafka topic that some messages to failed…
Bravo
  • 8,589
  • 14
  • 48
  • 85
1
vote
1 answer

How many messages can an activemq topic hold with multiple durable subscribers?

I have multiple durable subscribers subscribed to a topic? How many messages can the topic hold? What is the maximum number of messages it can hold? I am using KahaDB as persistence adapter. I am assuming it depends on the amount of memory that…
hars
  • 127
  • 4
  • 17
1
vote
1 answer

How does spring jms distribute messages among durable topic listeners?

raw jms code: TopicSubscriber durSubscriber1 = receiverSession.createDurableSubscriber(topic,"subscription_1"); durSubscriber1.setMessageListener(new MessageListener() { @Override public void onMessage(Message message) { …
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
1
vote
0 answers

Jmeter javax.naming.CannotProceedException: Name 'sample' is ambiguous: both a topic and a queue exist

I am trying to listen for a message on an error-log queue in order to test a couple error scenarios for our system. However, we have a topic and a queue that share the same name... Is there a way to specify which one Jmeter should listen to? For…
user8171831
1
vote
1 answer

Trouble casting JMS TopicSession as AQjmsSession

I'm trying to browse messages in a topic using TopicBrowser. To call the correct createBrowser method that will return a TopicBrowser object, I need to cast my topicSession variable to AQjmsSession. private InitialContext initialContext; private…
UBears
  • 371
  • 1
  • 4
  • 18
1
vote
2 answers

sybase updating gigaspace cache on insert/update/delete

I am new to database and i am working on an application which has a gigaspace based cache and the backend data is a sybase database. Unfortunately there are a lot of places from where the DB gets updated via stored procs. Hence i would like to have…
Ambuj Jauhari
  • 1,187
  • 4
  • 26
  • 46
1
vote
0 answers

ClassCastException: weblogic.jms.client.JMSConnection cannot be cast to weblogic.jms.client.JMSXAConnection

We are migrating an application from Weblogic 10 to Weblogic 12. For some reason we cannot connect to a foreign JMS Topic and the only information we get after deployment of the EAR in our DEV environment is ClassCastException:…
P_W999
  • 1,017
  • 12
  • 26