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
2
votes
1 answer

JMS Topic subscription Tomee 1.7.1

I was experimenting with Message Driven Beans in order to receive Topic subscription messages from an external ActiveMQ instance. My tests started first with Queue subscriptions which is working pretty nice. Then I wanted to try Topic subscriptions…
nerdit
  • 23
  • 1
  • 4
2
votes
2 answers

Weblogic jms distributed topic

Using java application, I'm trying to create a durable subscription on a jms uniform distributed topic. The jms server is running on weblogic 10.3.5 and the topic is distributed on 2 servers. If I'm developping a message driven bean, it's working. …
tweetysat
  • 2,187
  • 14
  • 38
  • 75
2
votes
2 answers

Send message to JMS Topic in JBoss 7.1 from standalone client, ConnectionFactory not found

I am having trouble publishing messages and object to my JMS Topic implementation in JBoss 7.1 on a Linux machine from a standalone client. In this case I am testing the connection in a JUnit test case, this: @BeforeClass public void setUp() { …
2
votes
1 answer

How to integration test some Spring JMS config

I wonder if anyone can help. My starter for 10 is that I know very little (next to nothing) about JMS and messaging in general - so please go easy with me with any answers/comments :) Given that this is a learning exerise for me, I'm trying to put…
Nathan Russell
  • 3,428
  • 5
  • 30
  • 51
2
votes
1 answer

Websphere MQ topics - are they strictly ordered?

Are messages received on a Websphere MQ topic that you are subscribed to strictly ordered? In other words, in similar fashion to a queue, given that your connection is maintained are you guaranteed to receive the topic messages in the same order as…
vikingsteve
  • 38,481
  • 23
  • 112
  • 156
2
votes
3 answers

How often should I instantiate a JMS topic connection and session

I am just starting to gain knowledge and use JMS(activemq). The pseudo code looks like below // 1. TopicConnectionFactory tcf = (TopicConnectionFactory) ctx.lookup("XXConnFactory"); // 2. TopicConnection connection = tcf.createTopicConnection(); //…
Sripaul
  • 2,227
  • 9
  • 36
  • 60
2
votes
1 answer

getting error while publishing message to Message Broker's Topic from esb's Proxy

Whenever i try to publish a message from esb to message broker's topic, i get this error [2013-04-19 14:51:45,930] ERROR - AMQConnection Throwable Received but no listener set: org.wso2.andes.client.AMQNoRoute Exception: Error: No Route for message…
Roy
  • 1,231
  • 1
  • 24
  • 61
2
votes
1 answer

ActiveMQ - "Random" slow subscribers - causing topic to fill up

I have a topic with multiple subscribed clients running with default prefetch. If one of the client is slow, it slows down other subscribed clients. I'd like to dynamically lower the prefetch limt for slow consumers but since clients slow randomly…
2
votes
1 answer

Message availability on JMS Topic once client acknowledges it?

I have a simple scenario, where publisher(my java application) publish the message on topic. 50 clients have subscribed on same JMS topic.As soon as message is published on topic, all the 50 subscriber will be notified .Say only one subscriber(0ut…
M Sach
  • 33,416
  • 76
  • 221
  • 314
1
vote
1 answer

Rabbit MQ - can a message be persisted until all subscribed consumers received it?

I'm having a little trouble figuring if Rabbit MQ can publish a message to a single queue with multiple subscribers, where the message will not get deleted until all subscribers to that queue have gotten the message. The closest I can find is…
Jack BeNimble
  • 35,733
  • 41
  • 130
  • 213
1
vote
2 answers

How to Get message count in a durable subscriber in IBM MQ?

I am using a default IBM mq topic 'dev/' and have a durable subscriber attached to this topic. Using a JMS Producer client if I produce some message but do not consume them, they are held in the subscription for the durable client. So I want to…
Vanshaj Behl
  • 105
  • 14
1
vote
1 answer

How to configure Non Persistent messages in GCP Pub Sub?

I have an architecture with multiple pods subscribing to a GCP Topic. Every pod handles messages while it's up but is not interested in receiving messages it missed when it was not up. In ActiveMQ this was Non Persistent messages, but I don't see…
pmpm
  • 705
  • 1
  • 5
  • 20
1
vote
1 answer

log4j: java.lang.ClassCastException: com.ibm.ejs.jms.JMSTopicConnectionFactoryHandle incompatible with javax.jms.TopicConnectionFactory on WebSphere 9

I'm having some struggles getting a Java web-application running on IBM WebSphere Application Server 9.0.5.5 sending messages to an IBM MQ topic using log4j 1.2.17. In WAS we originally had a ConnectionFactory set up to use to communicate with the…
Curt C.
  • 63
  • 4
1
vote
1 answer

How to Prevent Multiple Instances of the Same Microservice Reading the Same Message from an ActiveMQ Artemis Topic

This question is similar to the one here, but I'm not sure how to get this working I have an ActiveMQ Artemis Broker v 2.16.0 and Spring microservice projects with spring-jms 5.3.3. I have two microservices, A and B, that subscribe to a topic.…
CeeTee
  • 778
  • 1
  • 9
  • 17
1
vote
1 answer

Enable sending to / receiving from a JMS topic in Wildfly 17

What settings shall be configured in order to be able to send JMS messages to a given topic in Wildfly 17 and receive them via JMS? After looking in internet I found the following sources: Remote JMS Client for Wildfly 8 Not able to send message to…
Alex Mi
  • 1,409
  • 2
  • 21
  • 35