i mdb bereitgestellt haben korrekt und Server-Log sagte, dass ich erfolgreich im Einsatz haben, aber ich bin immer noch nicht in der Lage Nachricht von websphere mq im Jboss BehälterMessage Driven Bean raubend Nachricht nicht nach
Meine Aktivierung zu konsumieren config in meinem mdb
@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "hostName", propertyValue = "ip_address"),
@ActivationConfigProperty(propertyName = "port", propertyValue = "port"),
@ActivationConfigProperty(propertyName = "channel", propertyValue = "JAVA.CHANNEL"),
@ActivationConfigProperty(propertyName = "destination", propertyValue = "Q_PVF_BACKEND"),
@ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "queueManager", propertyValue = "TEST_MRIS_IIB")
})
@ResourceAdapter(value="wmq.jmsra.rar")
Jboss-Server-Protokoll
08:40:38,188 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ikvEAR.ear"
08:40:38,192 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ikvEJB.jar"
08:40:38,208 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) JBAS014142: Started message driven bean 'mdb' with 'wmq.jmsra' resource adapter
08:40:38,277 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "ikvEAR.ear"
Standalone-full.xml
...
<mdb>
<resource-adapter-ref resource-adapter-name="wmq.jmsra.rar"/>
<bean-instance-pool-ref pool-name="mdb-wmq-strict-max-pool"/>
</mdb>
...
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0">
<resource-adapters>
<resource-adapter>
<archive>
wmq.jmsra.rar
</archive>
<transaction-support>NoTransaction</transaction-support>
<config-property name="logWriterEnabled">
true
</config-property>
<config-property name="traceLevel">
6
</config-property>
<config-property name="traceEnabled">
true
</config-property>
<connection-definitions>
<connection-definition class-name="com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl" jndi-name="java:/jboss/PVFConnectionFactory" pool-name="PVFConnectionFactory">
<config-property name="port">
port
</config-property>
<config-property name="channel">
SYSTEM.DEF.SVRCONN
</config-property>
<config-property name="hostName">
ip_address
</config-property>
<config-property name="transportType">
CLIENT
</config-property>
<config-property name="queueManager">
TEST_MRIS_IIB
</config-property>
</connection-definition>
</connection-definitions>
<admin-objects>
<admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:/jboss/jobQueue" pool-name="jobQueue">
<config-property name="baseQueueManagerName">
TEST_MRIS_IIB
</config-property>
<config-property name="baseQueueName">
Q_MRES_PSDS_ALL_MSG
</config-property>
</admin-object>
<admin-object class-name="com.ibm.mq.connector.outbound.MQQueueProxy" jndi-name="java:/jboss/backendQueue" pool-name="backendQueue">
<config-property name="baseQueueManagerName">
TEST_MRIS_IIB
</config-property>
<config-property name="baseQueueName">
Q_PVF_BACKEND
</config-property>
</admin-object>
</admin-objects>
</resource-adapter>
</resource-adapters>
</subsystem>
Ich nenne meinen Ressourcenadapter, aber ich kann immer noch keine Nachricht von der Websphere mq konsumieren. 'Gestartet Message-Bean 'MDB' mit 'Wmq.jmsra' Ressourcenadapter Dies ist nur die Info, dass diese MDB mit diesem Ressourcenadapter bereitgestellt wird. –