Folks -
I've been able to get an MDB successfully subscribed to a TIBCO EMS Topic using the genericra.
However, the configuration is not ideal and I would appreciate any suggestions this mailing list might have.
Specifically, I am specifying the name of the TOPIC as an annotation on the MDB as such:
@MessageDriven(mappedName = "jms/XTopic", activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
@ActivationConfigProperty(propertyName = "DestinationProperties", propertyValue = "Address=TOPIC.X.NOTIFICATION.INTEGRATION"),
@ActivationConfigProperty(propertyName = "Username", propertyValue = "xxxxxxxx"),
@ActivationConfigProperty(propertyName = "Password", propertyValue = "xxxxxxxx"),
@ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "jms/TibConnectionFactoryPool")
})
Our JMS topics are environment specific {DEV, INTEGRATION, STAGING, PRODUCTION} and I would prefer to define the "Address" property value as a property of the admin object ("jms/XTopic") inside the glassfish on a per environment basis instead of in the annotation which is "hardcoded" in the code.
Again, any suggestions for best practices would be appreciated.
Thx!!!
rb
Rob Bastian I Programmer I Platform Engineering