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

Apache camel and Jms example program

I am using one program to publish messages to activemq using jms and apache camel.. public final class CamelJmsTofileExample { private CamelJmsTofileExample() {} public static void main(String args[]) throws Exception { …
Rahul
  • 149
  • 4
  • 11
0
votes
1 answer

Simple Java Client to connect to a Sonic Topic

I need to write a simple java class which send messages to a Sonic Topic. I can use the JNDI values for lookup. Here is the code. Hashtable properties = new Hashtable<>(); properties.put(Context.INITIAL_CONTEXT_FACTORY,…
0
votes
1 answer

JMS Topic with authentication for subscribers on Glassfish

I have a JMS Topic configured on my Glassfish Server, and I implemented a client to subscribe the Topic and print the messages it receives. This is working fine. Here is my client. You can see that I opted to use a kind of 'direct connection'…
Pedro Estevão
  • 982
  • 1
  • 13
  • 41
0
votes
2 answers

How to detect loss of JMS Topic connection

We have swing GUI clients that are connecting to a server process. The clients 'call' services on the server using jms:queue 'from' endpoints defined in Camel routes, and using ActiveMQ as the underlying JMS broker. However, the client also offers a…
DuncanKinnear
  • 4,563
  • 2
  • 34
  • 65
0
votes
2 answers

Moving consumed message from a topic to a queue

Let's suppose I have several subscribers consuming from a topic. After a message has been delivered to all the subscribers I'd like to trigger a job that would use this message in input. So the easy way to do that would be to move messages that have…
R3DL
  • 219
  • 2
  • 8
0
votes
1 answer

Using a topic (publish and subscribe), when will the message be removed from the topic?

Say there is a topic many MQ clients are connected to in order to receive messages. My question is when will the MQ server remove the message from the topic?
Mayuran
  • 669
  • 2
  • 8
  • 39
0
votes
2 answers

Consume JMS Topic only once

I've a JMS Topic that produces a unique messages. And I have a simple webapp deployed on n machines (clients), All what it do is to put the consumed msg into another system (the destination system). Note: I do NOT have control on the JMS. I DO have…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
0
votes
1 answer

Publish Subscriber design in JBoss ESB with guaranteed delivery

I'm having trouble designing a publish/subscribe service which will run on JBoss ESB. I need to be able to publish a message to a topic, which probably 200 subscribers will be listening to, and they will do something with the message once they get…
Michaela
  • 493
  • 5
  • 19
0
votes
1 answer

AS 7.1.1 : JNDI Look up for JMS connection factroy is not working

I am trying to write a sample program for JMS using Jboss. I went through the following link for how to use Jboss for JMS http://docs.jboss.org/jbossmessaging/docs/usermanual-2.0.0.beta1/html/using-jms.html I am getting an exception while looking…
WhoAre
  • 144
  • 2
  • 13
0
votes
2 answers

OpenEJB ignores configuration properties for Topic resource

I'm trying to use a Topic with a message driven bean on OpenEJB. So I've edited conf/openejb.xml to: destination = TrueUpdate …
Christian Schlichtherle
  • 3,125
  • 1
  • 23
  • 47
0
votes
2 answers

JMS Configuration with ActiveMQ

I have done the all process which is required for message store and forwarding process Installed activeMQ 5.5.1 and Copied necessary Jars in WSO2eSb Changed the AXIS2 file configurations also like this
faisal shaik
  • 160
  • 4
  • 22
0
votes
1 answer

Will this approach to make client id & subscribtion name unique in multithreaded environment work?

I am building an application which will consumer messages from multiple topics, transform the message and then publish them to multiple topics. After looking up connectionfactory object, I am using this code Connection con =…
0
votes
1 answer

WSO2 MessageBroker:Throwing org.wso2.andes.AMQTimeoutException error when creating durable subscriber

I have a code that acts as my subscriber. I have created durable subscriber. So due to this i am getting exception as Exception in thread "main" javax.jms.JMSException: Error registering consumer: org.wso2.andes.AMQTimeoutException: Server did not…
Roy
  • 1,231
  • 1
  • 24
  • 61
0
votes
1 answer

HornetQ JMS Topic To Topic Bridge

I'm trying to set up a bridge between two topics. The idea is this: A notification gets posted to a topic on HornetQ server A This notification gets sent to a topic on HornetQ server B (over a bridge?) The client app gets the notification from…
DJ Spiess
  • 983
  • 2
  • 9
  • 26
0
votes
1 answer

how to send a message to service integration bus destination topic space

I am new to service integration bus. I have configured a bus, and added my websphere portal server as bus member. Next have created a topic connection factory, and have selected the created bus here, I want to send a message to service integration…
aryanRaj_kary
  • 503
  • 2
  • 7
  • 28
1 2 3
19
20