topic « jms « Java Enterprise Q&A





1. JMS Topic Creation in JBoss 5 AS    stackoverflow.com

In Jboss 4, when I deployed an ear with an MDB for a topic that had not been specified in the deployment descriptors, the server would automatically create the topic (after ...

2. SUN IMQ topic messages preview    stackoverflow.com

Is there any way to view the messages that reside inside a JMS Topic destiantion? I've got a problem with messages not being released from Topic destination. The Topic has got 1 ...

3. How do I connect a JBoss4 Message Driven Bean to a topic on a remote server?    stackoverflow.com

I have a JBoss server (Server A) that is publishing messages on a topic. I have a message driven bean on another server (Server B) that needs to retrieve the messages from ...

4. How do I remove messages from a JBoss JMS Topic?    stackoverflow.com

I have configured my Topic in jbossmq-destinations-service.xml as follows:

<mbean code="org.jboss.mq.server.jmx.Topic"
    name="jboss.mq.destination:service=Topic,name=myTopicName">
  <depends optional-attribute-name="DestinationManager">
           jboss.mq:service=DestinationManager</depends>
  <depends optional-attribute-name="SecurityManager">
 ...

5. Sending messages to a remote JMS Topic    stackoverflow.com

I am writing a small utility to send JMS messages to a remote server, but I am failing to configure correctly the InitialContext (or so it seems) code to init the Context:

 ...

6. Determine number of subscribers per topic in JMS    stackoverflow.com

I'm building a small statistics application for Java Message Service. I have a container with several topic and loads of subscribers (consumers) to each topic. JMS provider: SonicMQ I've gotten the program to ...

7. How to pause JMS topic subscriber from receiving messages    stackoverflow.com

My setup: JBoss Messaging 1.4 running on JBoss 4.2.3 I have a couple of MDB's that subscribes on one topic, and the MDB's onMessage() tries to deliver the received message to one ...

8. notification about new subscriber joining to jms topic    stackoverflow.com

is it possible to get kind of notification on the message producer side, that new subscriber joined to the topic? In particular, is it possible with JBoss Messaging?

9. JMS Topic message size    stackoverflow.com

Our application uses a topic to push message to a small set of subscribers. what sort of things should i look for when modeling a jms message with respect to the ...





10. How to get the number of JMS messages in a Topic    stackoverflow.com

How do I get the number of JMS messages waiting to be consumed by a specific JMS message subscriber? I use the Topic model (publish/subscribe) and not the Queue model. I want ...

11. Suggestions for JMS Queue and Topic naming conventions    stackoverflow.com

For larger JMS deployments what are your best practice suggestions for naming conventions? Currently we're following the suggestions in the Sun Developer Network Blueprints. For example:

jms/<resource-name>[Queue|Topic]
I am concerned about scaling ...

12. What all functionality are there in queue which can't be achieved by topic?    stackoverflow.com

What all functionality are there in queue which can't be achieved by topic??

13. How to setup Topic in HornetMQ on jboss 6    stackoverflow.com

In hornetmq-jms.xml i see

<queue name="ExpiryQueue">
      <entry name="/queue/ExpiryQueue">
</queue>
but how to configure a topic? in jboss 3.2.1 we did it throght jbossmq-destinations-service.xml

14. How does one programmatically create a topic w/ hornet q?    stackoverflow.com

I have been looking at the org.hornetq.core.server package which seems to have the most interesting low level APIS relating to managing the server. The server session has a few methods labelled something ...

15. WIthout using the JMS Wrapper how to emulate JMS topic w/ HornetQ core API    stackoverflow.com

I would like to translate the concept of JMS topics using HornetQ core API. The problem i see from my brief examination it would appear the main class JMSServerManagerImpl (from hornetq-jms.jar) ...

16. JMS Queue and JMS Topic    stackoverflow.com

How a Queue and Topic can be applied in airport management when a plane arrives?





17. How to find out all subscribers to a JMS topic have replied?    stackoverflow.com

Using HornetQ (In JBoss AS 6.0) I would like to setup a JMS topic to which multiple clients can subscribe. A producer periodically sends a message to this topic with a reply-to ...

18. How to check that user can write to JMS queue / topic?    stackoverflow.com

How is it possible to check that particular user has write rights to Queue / Topic, without affecting Destination. If user has no such rights exception will be thrown and there would ...

19. What all the files are required to Connect for particular Topic using JAVA Class    stackoverflow.com

I am newbie in JMS. My requirements like that what all files are required and parameters required for connnection particular topic using JAVA class. If any example is available then it would ...

20. JMS topic get clientID's    stackoverflow.com

Can i get ClientID's of all jms topic subscribers? I use Jboss AS 6 (HornetQ). Off course, i can send query to all of them and read replies, but i'm looking for ...

21. Would a JMS Topic suffice in this situation? Or should I look elsewhere?    stackoverflow.com

There is one controlling entity and several 'worker' entities. The controlling entity requests certain data from the worker entities, which they will fetch and return in their own manner. Since the controlling ...

22. How to using amq.topic to pub/sub messages in Apache Qpid    stackoverflow.com

I have a C++ publisher to send messages like this:

Connection connection;
connection.open("127.0.0.1", 5672);
Session session = connection.createSession();
Message msg;
msg.setData("TestAMsg");
msg.getDeliveryProperties().setRoutingKey("test.A");
session.messageTransfer(arg::content = message, 
             ...

23. HornetQ: hooking up a topic to a queue    stackoverflow.com

I have a use case that to hook up the topic to many queues. We have some events in our system that we want to allow different users to subscribe to. ...

24. How to remove messages from a topic    stackoverflow.com

I am trying to write an Application that uses the JMS publish subscribe model. However I have run into a setback, I want to be able to have the ...

25. NPE while running JMS Topic Test plan    jmeter.512774.n5.nabble.com

Hi, I'm a newbie to Jmeter. While running a JMS Topic Test plan created based on the Jmeter tutorial, I'm getting a NullPointerException. I'm using ActiveMQ as a JMS provider and it is running fine when I'm executing this sampler. Looking at the code, when I check the box "Use jndi.properties file", it is unable to lookup ConnectionFactory , and when ...

26. Clusting and JMS Topic    coderanch.com

Hi, I posted this in the J@EE forum yesterday but got no replies so I was wondering whether you guys could help. I am currently using WebLogic to cluster an application which makes use of JMS queues and topics. The queue behaviour is fine, however, I'm having a problem with the topic behaviour. Say we have two cluster nodes and a ...

27. Publish/Subscribe with multiple subscribers (like a jms topic)    coderanch.com

It was pointed out that publisher/subscriber is not the right terminology for what I'm describing. Please substitute producer/consumer instead. Good afternoon, I'm trying to fashion a module following the publish/subscribe methodology. The idea is to publish messages which ALL subscribers will consume (rather than just one subscriber). This is like a JMS topic but without the overhead of JMS. ...

28. JMS Topic Text Message - user restriction    forums.oracle.com

So, let's say I have 10 Subscribers all connected to a Topic. The code that I have does the following. When one of the connected Subscribers sends a message, all of them can see it. I would like to know if I have the possibility that only one of the 10 Subscribers to send a message to only one of the ...

29. Connecting to a JMS topic    forums.oracle.com

Hi ALL, I am trying to connect to a JMS topic but getting an exception.To connect to that JMS topic username and password are required.I have provided the required username and the pwd but still getting this exception. The exception is as follows:- javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason://sam03:8083/q~q~uq~???sr org.jnp.server.NamingServer_Stubxrjava.rmi.server. RemoteStub??????exrjava.rmi.server.RemoteObject?a? ? a3xpw8 UnicastRef2]] at weblogic.jndi.internal.ExceptionTranslator.toNamin ...

30. JMS Topic Question    forums.oracle.com

31. queue versus Topic in JMS    forums.oracle.com

Queues are used to send messages between single applications, as far as I recall. App A puts a message in Queue Q and App B consumes the message, once B has consumed the message no other application can 'read' it. A topic allows application A to broadcast a message to every other application that is listeningo on the topic. It's the ...