JMS Section Index | Page 2
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 transaction processing?
Check out the jGuru
Transactions FAQ.
Where can I learn (more) about JCA (Java Connector Architecture)?
Check out the Sun's Java
Connector Architecture homepage.
Where can I learn (more) about CORBA (Common Object Request Broker Architecture)?
Check out the jGuru CORBA FAQ.
Where can I learn (more) about Java networking capabilities?
Check out the jGuru
Networking FAQ.
Where can I learn (more) about Java's EJB (Enterprise JavaBeans)?
Check out the jGuru EJB FAQ.
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 using JNDI (Java Naming and Directory Interface)?
Check out the jGuru JNDI 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