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
3
votes
0 answers

Should topic and queue names in JMS be separated by slashes or dots?

Depending on where you look, examples and/or documentation for Topic and Queue names for JMS are often separated by a forward slash, or by a dot. What is the correct/standard naming convention, or does it even matter? E.g.: should my topic be named…
dleerob
  • 4,951
  • 4
  • 24
  • 36
3
votes
1 answer

JMS pub sub multiple listener with same subscription id for same topic in distributed application

I am developing distributed application ( 4 instances are running and controlled by Load balance. each instance is identical. one instance will not depend on another instance and each instance will do all operation ). Application needs to listen one…
Gnana
  • 2,130
  • 5
  • 26
  • 57
3
votes
0 answers

JMS error : Error while deserialising an object

Getting Following strange exception weblogic.jms.commom.JMSException:[JMSClientExceptions:055115]Error deserialising an object Caused by: java.lang.ClassNotFoundException: com.my.TestClass To my surprise , this is not happening for all…
Balaji Reddy
  • 5,576
  • 3
  • 36
  • 47
3
votes
2 answers

Receiving objects with jms java

could someone help me. Here is my problem : I try to send an object with jms (this part works) and receive it with jms. My object is quite simple. 3 String, 3 int, and a boolean. There are no problem of connexion or anything like this. I receive…
Igor Beaufils
  • 848
  • 2
  • 12
  • 29
3
votes
1 answer

ActiveMQ - difference between topic and concurrent consumer in a queue?

I am trying my hands on apache ActiveMQ i have made my first application using spring.i am now trying to implementing publisher/subscriber application where all the peers can take participate in publishing at any time and the subscribers will…
Bruce_Wayne
  • 1,564
  • 3
  • 18
  • 41
3
votes
1 answer

Failed to connect to queue manager 'QUEUE-NAME' with connection mode 'Client' and host

I have developed subscripe (topic) conncept using Camel. it is working fine in my local tomcat.but it is not working in my test environment tomcat. it is getting below mentioned error. kindly help me to resolve the issue and how to debug the…
Gnana
  • 2,130
  • 5
  • 26
  • 57
3
votes
0 answers

Websphere8 JMS jndi lookup error Caused by: org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0

I am new JMS, I have created sample JMS application. Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory"); props.put(Context.PROVIDER_URL,…
user4485029
3
votes
2 answers

At what point in time is a message removed from a topic?

I have a topic. I have 10 consumers subscribed for it. As per my understanding, a message will be removed from topic when all consumers have received it. Right? Once it is removed, any further subscriber will not be notified for that specific…
user3198603
  • 5,528
  • 13
  • 65
  • 125
3
votes
1 answer

Transaction Management in Multiple Durable Subscribers to a Topic

I was reading about (and have sample implemented) JMS Topic Subscribers on Tibco MoM. These are the links that I am referring to : Link1 However, I was not clear about how the transaction is going to be managed over multiple subscribers. I am using…
TJ-
  • 14,085
  • 12
  • 59
  • 90
2
votes
1 answer

Message driven bean does not receive message from other nodes in the cluster

I have a Wildfly 23 cluster with two nodes (node-1, node-2) running the standalone-full-ha profile. The two cluster nodes boot and communicate with each other correctly (as far as I can judge). My intention is to send a JMS message on a topic from…
Lars Gendner
  • 1,816
  • 2
  • 14
  • 24
2
votes
1 answer

Failed to connect Azure servicebus topic using JMS - Java

I followed steps as mentioned in Azure ServiceBus JMS Sample with below…
2
votes
2 answers

Exception while trying to consume a JMS Topic message using Spring Boot

I am trying to consume message from ActiveMQ Topic. Below is the Code: @Configuration @EnableJms public class Config { @Value("${activemq.broker-url}") private String brokerURL; @Bean public ActiveMQConnectionFactory activeMQConnectionFactory()…
sidd
  • 195
  • 3
  • 20
2
votes
1 answer

JMS Message consumed continously

I have a JMS listener config in Mule 4 that would subscribe to messages from a topic in Tibco JMS broker. In case of any failure, the JMS message gets persisted in the topic. Consider if there is a runtime issue or some intermittent issue while…
veejay
  • 81
  • 2
  • 12
2
votes
2 answers

How exactly is JMSReplyTo handled by Apache Camel? When does camel implicitly utilises the destination?

Using spring-camel, I have built a route that consumes from a JMS topic (with JMSReplyTo expected to be set for each input message), splits the message into smaller chunks, sends them to a REST processsor, then aggregates the answers and should…
genghis
  • 41
  • 6
2
votes
0 answers

ActiveMQ Artemis Issue - java.lang.NoSuchFieldError: WRITE_BUFFER_WATER_MARK

I have a spring boot application. This app need to listen to the messages from JMS topics deployed in another application (let’s say this application name is Topic) . This topic application runs on wildfly 11 and uses ActiveMQ Artemis. Did the…
Heisenberg
  • 147
  • 1
  • 4
  • 14
1
2
3
19 20