All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t.commons.components.soitoolkit-commons-mule.2.0.0-M4.source-code.soitoolkit-mule-jms-connector-wmq-ee.xml Maven / Gradle / Ivy

There is a newer version: 2.0.0-M6
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the soi-toolkit project under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The soi-toolkit project licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<mule
	xmlns="http://www.mulesoft.org/schema/mule/core"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:spring="http://www.springframework.org/schema/beans"
	xmlns:wmq="http://www.mulesoft.org/schema/mule/ee/wmq"
	xsi:schemaLocation="
		http://www.springframework.org/schema/beans       http://www.springframework.org/schema/beans/spring-beans-current.xsd
    http://www.mulesoft.org/schema/mule/ee/wmq  http://www.mulesoft.org/schema/mule/ee/wmq/current/mule-wmq-ee.xsd
    http://www.mulesoft.org/schema/mule/core    http://www.mulesoft.org/schema/mule/core/current/mule.xsd">

  <spring:beans>
    <spring:import resource="classpath:soitoolkit-mule-jms-connector-commons.xml"/>
  </spring:beans>
  
  <!--
    Sample configuration settings:
    
    SOITOOLKIT_MULE_WMQ_HOST=qm1host
    SOITOOLKIT_MULE_WMQ_PORT=1414
    SOITOOLKIT_MULE_WMQ_QM=QM1
    SOITOOLKIT_MULE_WMQ_USR=
    SOITOOLKIT_MULE_WMQ_PWD=
    SOITOOLKIT_MULE_WMQ_CHANNEL=SYSTEM.DEF.SVRCONN
    SOITOOLKIT_MULE_WMQ_NO_OF_CONSUMERS=2
    
    Note: Allowed values for transport-type: BINDINGS_MQ, CLIENT_MQ_TCPIP, DIRECT_HTTP, DIRECT_TCPIP, and MQJD.
  -->
	<wmq:connector
		name="soitoolkit-jms-connector"
		hostName="${SOITOOLKIT_MULE_WMQ_HOST}"
		port="${SOITOOLKIT_MULE_WMQ_PORT}"
		queueManager="${SOITOOLKIT_MULE_WMQ_QM}"
		username="${SOITOOLKIT_MULE_WMQ_USR}"
		password="${SOITOOLKIT_MULE_WMQ_PWD}"
		channel="${SOITOOLKIT_MULE_WMQ_CHANNEL}"
		transportType="CLIENT_MQ_TCPIP"
		numberOfConsumers="${SOITOOLKIT_MULE_WMQ_NO_OF_CONSUMERS}"
		targetClient="JMS_COMPLIANT"
		disableTemporaryReplyToDestinations="true"
		persistentDelivery="true"
		maxRedelivery="10">
    
<!-- 
		<custom-exception-strategy class="org.soitoolkit.commons.mule.error.ExceptionHandler"/>
 -->

    <reconnect-forever frequency="5000"/>
	</wmq:connector>
  
</mule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy