JMS Section Index | Page 2
Is it possible to integrate TIBCO system with EJB or, generally, with J2EE? Is this done through the JMS-TIBCO connector? Is it possible to deploy EJB directly on TIBCO?
TIBCO has a product called TIBCO Adapter for EJB that facilitates communication between EJBs and services that use TIBCO's Rendezvous messaging system.
TIBCO also has a full-featured JMS implemen...more
Message expiry: I am sending (topic) messages with a TTL of 60 secs, but my durable consumer can pick these up upto approx(?) 120 secs later. Is this extended longevity the intended behaviour?
This is intended. SwiftMQ's approach to cleanup expired messages is to perform that in intervals you specify in the default cleanup interval attribute (which you might overwrite per regular PTP-qu...more
Is it possible to have multiple queue consumers on a single connection? I tried this creating multiple sessions but the messages often just go to the first listener I created on the queue and not the second.
Multiple consumers per queue:
Is it possible to have multiple queue consumers on a single connection? I tried this creating multiple sessions but the messages often just go to the first listener I...more
Running SwiftMQ router as a service component inside JBoss. Does 3.0 provide better support to run the router as a component inside of an app server?
Running SwiftMQ router as a service component inside JBoss.
Does 3.0 provide better support to run the router as a component inside of an app server?
We are currently using JBoss as the base cont...more
I am running some point-to-point performance tests using the latest SwiftMQ and notice that when the test is over and the code calls the QueueConnection.close() method it takes a very long time for this method to return. I have not seen this same behavior with other JMS vendors. Any idea why this is happening?
Long connection close times.
I am running some point-to-point performance tests using the latest SwiftMQ and notice that when the test is over and the code calls the QueueConnection.close() method ...more
How can I integrate SwiftMQ 3.x into JBoss 3.x?
You need SwiftMQ 3.x plus the JMS XA/ASF Swiftlet. A detailed description of the required changes to the JBoss config files is provided in the JMS XA/ASF Swiftlet documentation.more
Can I restrict access between routers of a network, e.g. a router can only send to particular queues/topics of a remote router?
SwiftMQ has a local authentication design where each router in a router
network has to be a trusted router of the network. Each router serves
as
en entry point to the whole network and can auth...more
How are durable subscriptions handled in a router network?
All Topic Manager Swiftlets in a router network are working federated.
They exchange subscription messages on a "some/none" base. That means,
they send a subscription message to all other Topic ...more
My SwiftMQ router router1 is listening on port 4001. How do I change the port it listens on ?
There are two ways.
Launch the SwiftMQ explorer, connect to the router and navigate to JMS Swiftlet/Listeners. Select the listener you want to modify, remove it and create a new one with the speci...more
Why do I get this message when I try to connect to a queue ?
Why do I get this message when I try to connect to a queue ?
javax.jms.InvalidDestinationException: Queue '<queueName>' is not local!
Can't create a Consumer on it!
What is a Swiftlet?
SwiftMQ is based on a framework of components named Swiftlet(R). It is differentiated between Kernel and Extension Swiftlets. Kernel Swiftlets provide the basic functionality of a router and Exten...more
Does Tomcat support JMS (Java Messaging Service)?
Alessandro A. Garbagnati writes:
Tomcat is just a servlet container, not an EJB container nor an application server, so it does not contains any JMS basic support.
However, there's nothing stopp...more
Where can I learn (more) about Java's support for developing multi-threaded programs?
Check out the jGuru Threads
FAQ.
Where can I learn (more) about Java networking capabilities?
Check out the jGuru
Networking FAQ.
How do you pass a file from a message producer to a consumer using JMS?
Answer by Josh Rayls
I believe the best way to do this would be to use an ObjectMessage. Simply store your File object in the Message.
ObjectMessage msg =
queue_session.createObjectMessage();
...more