Hi,

I have an architectural question.
I mast to do an jms-based module, what can send same message to more then one destination. The destination setup come from property set. (The topic doesn't possibility.) My base solution is done, to send message to one destination (here I used jms outbound channel adapter). The property setup doesn't change dynamically, when they set up new parameter set, then they restart the application.
At this time the hole process has wrote in configuration file.
Code:
	<bean id="mqConnFact" class="com.ibm.mq.jms.MQQueueConnectionFactory"> 
		<property name="hostName" value="${MQ_HOST}" />
		<property name="port" value="${MQ_PORT}" />
		<property name="queueManager" value="${MQ_QUEUE_MANAGGER}" />
		<property name="CCSID" value="${MQ_CCSID}" />
 		<property name="channel" value="${MQ_CHANNEL}" />
		<property name="transportType">
			<util:constant static-field="com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP" />
		</property>
	</bean>

    <bean id="jmsTrnManager" class="org.springframework.jms.connection.JmsTransactionManager">
        <property name="connectionFactory" ref="mqConnFact" />
    </bean>

	<int:channel id="outMessSend" />

	<bean id="mqMsgConv" class="mysource.MqMsgConv">
		<property name="source" value="${MQ_SOURCE}" />
		<property name="destination" value="${MQ_DEST}" />
		<property name="ccsId" value="${MQ_CCSID}" />
	</bean>

	<bean id="outputDestination" class="com.ibm.mq.jms.MQQueue">
		<constructor-arg value="${MQ_OUTPUT_QUEUE}" />
		<property name="targetClient">
			<util:constant static-field="com.ibm.mq.jms.JMSC.MQJMS_CLIENT_JMS_COMPLIANT" />
		</property>
	</bean>

	<jms:outbound-channel-adapter id="sendMessage"
		connection-factory="mqConnFact" destination="outputDestination"
		channel="outMessSend" message-converter="mqMsgConv" />
I would like to take this method. (If possible.)
I need a solution to use my properties, as a list, and the output destination can use this list to send message. (Automatically or manual.)

I hope I can write down my problem clearly.
Thank you!
Feri