posted 16 years ago
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