activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactmsn <>
Subject ActiveMQ - WebSphere MQ JMS Bridge Issue
Date Sun, 26 Apr 2015 13:13:02 GMT
I am new t0 ActiveMQ(5.9.0,5.10.0). I am trying to create a JMS Bridge
between ActiveMQ and WebSphereMQ which i was able to do this successfully. I
am able to send and receive messages in Active MQ and WebSphere MQ.
But messages are not delivered from ActiveMQ if there is some time delay in
connection with WebSphereMQ. Below is scenario
1. Stop WebSphere MQ Queue Manager
2. Post Message in Active MQ
3. Wait for 1 minute
4. Start WebSphere MQ Queue Manager. 

During this scenario the message is not delivered to WebsphereMQ Queue
Manager and sent to dequeue. Can someone please help me in resolving this
When i set the prefetch size as 1 and post 30 messages in activemq then the
inflight messages for that queue increases every 30 seconds. Once
websphereMQ is started these inflight messages are lost only the rest of the
messages are delivered. I dont see any Messages in dead letter Queue also.
Below is my activemq.xml configuration

                    <inboundQueueBridge inboundQueueName="TEMP.OUT" />

                    <outboundQueueBridge outboundQueueName="TEMP.IN" />
        <policyEntry queue=">" queuePrefetch="1000">
            <individualDeadLetterStrategy queuePrefix="DLQ."
useQueueForQueueMessages="true" />
			<sharedDeadLetterStrategy processExpired="true"
processNonPersistent="true" />
            <redeliveryPlugin fallbackToDeadLetter="true"
                            <redeliveryPolicy queue="TEMP.IN"
maximumRedeliveries="-1" redeliveryDelay="10000" />
                            <redeliveryPolicy maximumRedeliveries="-1"
initialRedeliveryDelay="5000" redeliveryDelay="10000" />
            <managementContext createConnector="false"/>

            <kahaDB directory="${data}/kahadb"/>
			<kahaPersistenceAdapter directory="activemq-data"

            <jaasAuthenticationPlugin configuration="karaf" />

                    <memoryUsage limit="64 mb"/>
                    <storeUsage limit="10 gb"/>
                    <tempUsage limit="10 gb"/>
            <transportConnector name="openwire"
   <simpleAuthenticationPlugin   anonymousAccessAllowed="true" 
anonymousUser="admin1"  anonymousGroup="unauthenticated">
          <authenticationUser username="admin" password="admin"
          <authenticationUser username="user"  password="password"
          <authenticationUser username="guest" password="password"
    <bean id="remoteFactoryLinux"
        <property name="transportType" value="1"/>
        <property name="hostName" value=""/>
        <property name="port" value="1414"/>
        <property name="queueManager" value="QM"/>
		<property name="channel" value="CHANNEL"/> 	
		<property name="ClientReconnectTimeout" value="3600"/>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message