@MessageDriven和maven属性

时间:2017-03-13 15:12:41

标签: java maven jms ejb-3.1

如何使用maven个人资料/属性在以下代码示例中定义 jms / MyQueue

@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destinationLookup", propertyValue = "jms/MyQueue") })
public class SomeMessageDrivenBean implements MessageListener {
    ....

0 个答案:

没有答案