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

Routing Logic inside ActiveMQ to specific worker pool

I have a scenario, I have the same queue configured for SMS and EMAILS. I want the ActiveMQ to route the message to specific consumer pool i.e. if it is an SMS, then it must be routed to a pool of worker threads for SMS. So, If I need to scale up…
Sabya
  • 197
  • 4
  • 17
0
votes
0 answers

Store and forward using JMS topics

I'm trying to setup store and forward in ActiveMQ. We use a JMS topic to distribute messages to multiple consumers. We have multiple brokers connected using a duplex network connector. What I want is that, if a message send to the topic on broker A…
Pieter
  • 3,339
  • 5
  • 30
  • 63
0
votes
1 answer

How to get all the data sent by producer when subscriber is inactive in Mqtt topic Java(not retained or last message)

I've been looking for all over internet. I have tried setting cleansession "false" and qos 1 and 2 yet subscriber is not getting all the content when he comes online. Please help... my code is Example.java(Producer) public class Example extends…
Sai
  • 13
  • 4
0
votes
1 answer

Message selectors vs Topics for message filtering on Tibco EMS

I'm working on a client server application using Tibco EMS Topics for Pub/Sub communication. In one of our use cases we need to send several millions of messages per minutes split over >200k "subjects". Each client is interested in a small subset of…
0
votes
0 answers

How to disable DLQ for a activemq queue which is configured in broker in consumer

Iam using activeMQ to write my application.I have a queue named MyQueue which has a deadLetterStrategy which disables DLQ for a queue in the broker.Below config is in the broker.
Chetan Sistla
  • 165
  • 2
  • 16
0
votes
2 answers

How to pause and resume asynchronous consumption of JMS messages

Iam building an application using activeMQ where i have a producer and a consumer. In the consumer iam using a MessageListener to asynchronously listen to messages from producer which is done using a method called onMessage(Message…
Chetan Sistla
  • 165
  • 2
  • 16
0
votes
2 answers

Unsubscribe durable subscribers with ActiveMQ

I'm trying to UNSUBSCRIBE durable subscribers from TOPICS. My app is a kind of social network : each user is a topic for other users. So, each time a user is doing something, his friends are notified. Of course, a subscriber may unsubscribe from a…
Lovegiver
  • 413
  • 6
  • 22
0
votes
2 answers

JMS message expiry not working

I need to set message expiry for my message in a JMS Topic. I have tried by setting the properties of message.setJMSExpiration() and producer.getTimeToLive() methods. But I don't think so the messages which I posted still alive in Topic which I…
Bhuvanesh Waran
  • 593
  • 12
  • 28
0
votes
1 answer

Is it possible to increase keep alive check timing in topic subscriber?

Am new to topic and subscriber methodology and trying to explore topic subscriber method to post a message over topic and subscribing the posted message in client. When I studied about this method I read in some article that connection between…
Bhuvanesh Waran
  • 593
  • 12
  • 28
0
votes
1 answer

Durable subscription ID cannot be read by CSV Data Set Config in JMeter

I need to get 10 different durable subscribers added to a message broker by reading the durable subscription IDs to be set from a csv file which contains integer values from 1 - 10. However, JMeter was failing to read the value instead it tried to…
jdk1.7
  • 166
  • 1
  • 9
0
votes
1 answer

Sending jms message causes warning

when sending a message through a JMS topic, I often get the following warning: 2016-07-22 14:32:02,418 WARN [org.apache.activemq.artemis.jms.client] (Finalizer) AMQ122000: I''m closing a JMS connection you left open. Please make sure you close all…
0
votes
1 answer

wso2mb durable topic subscription doesn't work in Integration Using JMS Endpoints and JMS Proxy Services

I'm trying to integrate wso2mb with wso2esb and use durable topics to persist messages in queue when the subscriber is not active and recover them in future. I used first method (Integration Using JMS Endpoints and JMS Proxy Services ) of…
0
votes
1 answer

Wildfly Domain shared Topic with HornetQ

I have a Wildfly cluster in domain mode with two nodes, each one with one server both belonging to the same server group. I need a shared topic: when a client subscribes to the topic of server A it should be notified also by messages put by server B…
Wallkan
  • 480
  • 1
  • 8
  • 27
0
votes
2 answers

TimeToLive in JMS Producer kills my Message

if i set the TimeToLive in my Producer, my Subscriber doesn't receive any message. I use an activeMQ V. 5.13.3 as message broker. My Producer javax.naming.Context ctx = new InitialContext(); // lookup the connection factory factory =…
Tim
  • 643
  • 3
  • 12
  • 23
0
votes
1 answer

Receive all message queued in durable topic subscriber in between mule flow

I wanted to retrieve all message queued in durable topic subscriber in between mule flow. I have tried to use Mule requester but for JMS inbount durable topic subscriber we have to prove "durableName" attribute. Its working fine with inbound…
AnupamBhusari
  • 2,395
  • 2
  • 14
  • 22