I have a (hopefully easy) question about MDB annotation.
For the parameter connectionURL we have a different broker for DEV, UAT, and
Prod. What's the syntax to change that static text to a variable.
(Sorry, I know that's easy but this part is a bit new to me.)
@MessageDriven ( activationConfig = {
@ActivationConfigProperty (
propertyName = "acknowledgeMode",
propertyValue = "Auto-acknowledge"
) , @ActivationConfigProperty (
propertyName = "destinationType",
propertyValue = "javax.jms.Queue"
) , @ActivationConfigProperty (
propertyName = "destination",
propertyValue = "java:jboss/exported/SasRequestQueue"
) , @ActivationConfigProperty (
propertyName = "connectionURL",
propertyValue =
"amqp://guest:guest@clientid/test?brokerlist='tcp://devbusn4:1234''"
) , @ActivationConfigProperty (
propertyName = "subscriptionDurability",
propertyValue = "NotDurable"
) , @ActivationConfigProperty (
propertyName = "maxSession",
propertyValue = "1"
)
} )
Many Thanks,
Daniel Carda
TW Telecom
--
View this message in context:
http://old.nabble.com/Question-About-Annotation-tp34348254p34348254.html
Sent from the Qpid Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]