Este contenido no está disponible en el idioma seleccionado.
21.2. Messaging in Seam
It is easy to send and receive JMS messages to and from Seam components.
21.2.1. Configuration Copiar enlaceEnlace copiado en el portapapeles!
Copiar enlaceEnlace copiado en el portapapeles!
To configure Seam infrastructure to send JMS messages, you must first tell Seam about the topics and queues you want to send messages to, and where to find the
QueueConnectionFactory and TopicConnectionFactory, depending on your requirements.
By default, Seam uses
UIL2ConnectionFactory, the default connection factory with JBossMQ. If you use another JMS provider, you must set one or both of queueConnection.queueConnectionFactoryJndiName and topicConnection.topicConnectionFactoryJndiName, in either seam.properties, web.xml, or components.xml.
To install Seam-managed
TopicPublishers and QueueSenders, you must also list topics and queues in components.xml: