如何在ActiveMQ中为postgres配置监听器。我正在使用Jboss和ActiveMQ组合。
在ejb-jar.xml文件中修改。
{
"status": "sent",
"emailSubject": "Please sign this document",
"emailBlurb": "Here's a document for you to sign",
"templateId": "xxxx",
"templateRoles": [
{
"email": "test@email.com",
"name": "Test Recipient",
"tabs":
{
"textTabs": [
{
"tabLabel": "\\*Doc_Name",
"value": "Doc Value Goes Here"
},
{
"tabLabel": "\\*Doc_Phone",
"value": "8675309"
},
{
"tabLabel": "\\*Doc_Fax",
"value": "5551212"
}
]
},
"roleName": "Parent_signer"
}
]
}
在activemq.xml文件中修改了ra.xml文件
<enterprise-beans>
<message-driven>
<display-name>NamelListener</display-name>
<ejb-name>NamelListener</ejb-name>
<ejb-class>com.deb.mdb.InternalListener</ejb-class>
<transaction-type>Container</transaction-type>
<activation-config>
<activation-config-property>
<activation-config-property-name>destination</activation-config-property-name>
<activation-config-property-value>IP_NAME</activation-config-property-value>
</activation-config-property>
<activation-config-property>
<activation-config-property-name>destinationType</activation-config-property-name>
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
</activation-config-property>
</activation-config>
</message-driven>
.......
答案 0 :(得分:0)
上面提到的方式我们可以做....在我的机器上有一些设置问题。修复后它正在工作。