Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <connection-factories>
- <!-- MQ JMS Provider -->
- <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="org.jboss.jms:service=JMSProviderLoader,name=WSMQJMSProvider">
- <attribute name="ProviderName">WSMQJMSProvider</attribute>
- <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
- <attribute name="FactoryRef">ConnectionFactory</attribute>
- <attribute name="QueueFactoryRef">SIB2B02</attribute>
- <attribute name="TopicFactoryRef">SIB2B02</attribute>
- <attribute name="Properties">
- java.naming.factory.initial=com.ibm.mq.jms.context.WMQInitialContextFactory
- java.naming.provider.url=159.165.45.81:1414/SIB2B02
- java.naming.security.authentication=none
- </attribute>
- </mbean>
- <!-- MQ Bridge -->
- <mbean code="org.jboss.jms.server.bridge.BridgeService"
- name="jboss.messaging:service=Bridge,name=DeltaWmqBridge"
- xmbean-dd="xmdesc/Bridge-xmbean.xml">
- <!-- The JMS provider loader that is used to lookup the source destination - defined above -->
- <depends optional-attribute-name="SourceProviderLoader">
- org.jboss.jms:service=JMSProviderLoader,name=WSMQJMSProvider
- </depends>
- <!-- The JMS provider loader that is used to lookup the target destination -->
- <depends optional-attribute-name="TargetProviderLoader">
- jboss.messaging:service=JMSProviderLoader,name=JMSProvider
- </depends>
- <!-- The JNDI lookup for the source destination - as defined on MQ server -->
- <attribute name="SourceDestinationLookup">DLN.AIRCELL.FLIFO.Q</attribute>
- <!-- The JNDI lookup for the target destination - this is set up as an normal JBoss queue -->
- <attribute name="TargetDestinationLookup">/queue/DAL_FIG_BG_STAGING</attribute>
- <!-- The username to use for the source connection
- <attribute name="SourceUsername">bob</attribute>
- -->
- <!-- The password to use for the source connection
- <attribute name="SourcePassword">BobSecur3</attribute>
- -->
- <!-- The username to use for the target connection
- <attribute name="TargetUsername">mary</attribute>
- -->
- <!-- The password to use for the target connection
- <attribute name="TargetPassword">MaryS3cur3</attribute>
- -->
- <!-- Optional: The Quality Of Service mode to use, one of:
- QOS_AT_MOST_ONCE = 0;
- QOS_DUPLICATES_OK = 1;
- QOS_ONCE_AND_ONLY_ONCE = 2;
- -->
- <attribute name="QualityOfServiceMode">0</attribute>
- <!-- JMS selector to use for consuming messages from the source
- <attribute name="Selector">specify jms selector here</attribute>
- -->
- <!-- The maximum number of messages to consume from the source before sending to the target -->
- <attribute name="MaxBatchSize">10</attribute>
- <!-- The maximum time to wait (in ms) before sending a batch to the
- target even if MaxBatchSize is not exceeded. -1 means wait forever
- -->
- <attribute name="MaxBatchTime">-1</attribute>
- <!-- If consuming from a durable subscription this is the subscription name
- <attribute name="SubName">mysub</attribute>
- -->
- <!-- If consuming from a durable subscription this is the client ID to use
- <attribute name="ClientID">myClientID</attribute>
- -->
- <!-- The number of ms to wait between connection retrues in the event
- connections to source or target fail
- -->
- <attribute name="FailureRetryInterval">5000</attribute>
- <!-- The maximum number of connection retries to make in case of failure,
- before giving up -1 means try forever
- -->
- <attribute name="MaxRetries">-1</attribute>
- <!-- If true then the message ID of the message before bridging will be
- added as a header to the message so it is available to the
- receiver. Can then be sent as correlation ID to correlate in a
- distributed request-response
- -->
- <attribute name="AddMessageIDInHeader">false</attribute>
- </mbean>
- </connection-factories>
Add Comment
Please, Sign In to add comment