wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE." Watch "MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE." New topic
Author

MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.

Steven Rodeo
Ranch Hand

Joined: Mar 06, 2008
Posts: 72
I know i am doomed, but I am running an MDB on a glassfish, listening to a Remote Message Q ( SUNMQ 4.1 ) running on a remote host.

Do I need all the following attributes ?, I mean is it mandatory for me to mention the connectionFactoryJNDIName ?.

@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="jms/TopicConnectionFactory"),
@ActivationConfigProperty(propertyName="destinationName",
propertyValue="jms/demoTopic"),
@ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Topic"),
@ActivationConfigProperty(propertyName="messageSelector",propertyValue="RECIPIENT = 'MDB'") } )
public class MessageLogger implements TimedObject {

_SM
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: MESSAGE DRIVEN BEAN LISTENING TO A REMOTE QUEUE.