...
The following figure illustrates an example of this construction.
Panel | |
---|---|
Html bobswift | <sb:Property><sb:Name>java <sb:Name>java.naming.provider.url< url</sb:Name> Name><sb:Value>tcp <sb:Value>tcp://soatest2:61616< 61616</sb:Value> < Value> </sb:Property> </pre> Property> |
In the following examples:
...
The following figure illustrates an attachment to an Apache ActiveMQ dynamic topic.
Panel | |
---|---|
Html bobswift | <sb:JMSConnection><sb:Name>JMS <sb:Name>JMS ActiveMQ Topic Listener - soatest2/< </sb:Name> Name><sb:InitialContextProperties> <sb:InitialContextProperties><sb:Property> <sb:Property><sb:Name>java <sb:Name>java.naming.factory.initial< initial</sb:Name> Name><sb:Value>org <sb:Value>org.apache.activemq.jndi.ActiveMQInitialContextFactory< ActiveMQInitialContextFactory</sb:Value> Value>< </sb:Property> Property><sb:Property> <sb:Property><sb:Name>java <sb:Name>java.naming.provider.url< url</sb:Name> Name><sb:Value>tcp <sb:Value>tcp://soatest2:61616< 61616</sb:Value> Value>< </sb:Property> Property>< </sb:InitialContextProperties> InitialContextProperties><sb:ConnectionFactory>ConnectionFactory< <sb:ConnectionFactory>ConnectionFactory</sb:ConnectionFactory> ConnectionFactory><sb:Listeners> <sb:Listeners><sb:JMSListener> <sb:Destination>dynamicTopics/UemsoaStartTopicA</sb:Destination> <sb:JMSListener> <sb:Destination>dynamicTopics/UemsoaStartTopicA</sb:Destination><sb:Actions> <sb:Actions><sb:JMSFileWriter> <sb:JMSFileWriter><sb:Directory>filesystem< <sb:Directory>filesystem</sb:Directory> <sb:FilenamePattern>ActiveMQ Directory> <sb:FilenamePattern>ActiveMQ_Topic_%Seq%.txt< txt</sb:FilenamePattern> FilenamePattern><sb:StartSequenceNumber>1< <sb:StartSequenceNumber>1</sb:StartSequenceNumber> StartSequenceNumber><sb:WriteProperties>false< <sb:WriteProperties>false</sb:WriteProperties> WriteProperties>< </sb:JMSFileWriter> JMSFileWriter>< </sb:Actions> Actions>< </sb:JMSListener> JMSListener>< </sb:Listeners> Listeners>< </sb:JMSConnection> </pre> JMSConnection> </pre> |
Websphere Queue
The following figure illustrates an attachment to an IBM Websphere queue.
Panel | |
---|---|
Html bobswift | <sb:JMSConnection><sb:Name>JMS <sb:Name>JMS WebSphere Queue Listener -soatest2< soatest2</sb:Name> Name><sb:InitialContextProperties> <sb:InitialContextProperties><sb:Property> <sb:Property><sb:Name>java <sb:Name>java.naming.factory.initial< initial</sb:Name> Name><sb:Value>com <sb:Value>com.ibm.websphere.naming.WsnInitialContextFactory< WsnInitialContextFactory</sb:Value> Value>< </sb:Property> Property><sb:Property> <sb:Property><sb:Name>java <sb:Name>java.naming.provider.url< url</sb:Name> Name><sb:Value>iiop <sb:Value>iiop://soatest2:2809< 2809</sb:Value> Value>< </sb:Property> Property><sb:Property> <sb:Property><sb:Name>com <sb:Name>com.ibm.CORBA.ORBInit< ORBInit</sb:Name> Name><sb:Value>com <sb:Value>com.ibm.ws.sib.client.ORB< ORB</sb:Value> Value>< </sb:Property> Property>< </sb:InitialContextProperties> InitialContextProperties><sb:ConnectionFactory>jms/SBSConnectionFactory< <sb:ConnectionFactory>jms/SBSConnectionFactory</sb:ConnectionFactory> ConnectionFactory><sb:Listeners> <sb:Listeners><sb:JMSListener> <sb:JMSListener><sb:Destination>jms/Soatest2TestQueue3< <sb:Destination>jms/Soatest2TestQueue3</sb:Destination> Destination><sb:Actions> <sb:Actions><sb:JMSFileWriter> <sb:JMSFileWriter><sb:Directory>filesystem<sb:Directory> <sb:Directory>filesystem<sb:Directory><sb:FilenamePattern>Websphere <sb:FilenamePattern>Websphere_Queue_%Seq%.txt< txt</sb:FilenamePattern> FilenamePattern><sb:StartSequenceNumber>1< <sb:StartSequenceNumber>1</sb:StartSequenceNumber> StartSequenceNumber><sb:WriteProperties>false< <sb:WriteProperties>false</sb:WriteProperties> WriteProperties>< </sb:JMSFileWriter> JMSFileWriter>< </sb:Actions> Actions>< </sb:JMSListener> JMSListener>< </sb:Listeners> < Listeners> </sb:JMSConnection> </pre> JMSConnection> |
MQ Series Queue
The following figure illustrates an attachment to an IBM MQ Series Queue.
Panel | |
---|---|
Html bobswift | <sb:MQConnection><sb:Name>MQ <sb:Name>MQ Series Listener -soatest2< soatest2</sb:Name> Name><sb:Host>soatest2< <sb:Host>soatest2</sb:Host> Host><sb:QueueManagerName>MyQueueManager< <sb:QueueManagerName>MyQueueManager</sb:QueueManagerName> QueueManagerName><sb:Channel>UpsQaChannel< <sb:Channel>UpsQaChannel</sb:Channel> Channel><sb:Port>1414< <sb:Port>1414</sb:Port> Port><sb:Listeners> <sb:Listeners><sb:MQListener> <sb:MQListener><sb:QueueName>UpsQaQueue< <sb:QueueName>UpsQaQueue</sb:QueueName> QueueName><sb:Actions> <sb:Actions><sb:MQFileWriter> <sb:MQFileWriter><sb:Directory>filesystem< <sb:Directory>filesystem</sb:Directory> Directory><sb:FilenamePattern>MQSeries <sb:FilenamePattern>MQSeries_Queue_%Seq%.txt< txt</sb:FilenamePattern> FilenamePattern><sb:StartSequenceNumber>0< <sb:StartSequenceNumber>0</sb:StartSequenceNumber> StartSequenceNumber><sb:WriteProperties>false< <sb:WriteProperties>false</sb:WriteProperties> WriteProperties>< </sb:MQFileWriter> MQFileWriter>< </sb:Actions> Actions>< </sb:MQListener> MQListener>< </sb:Listeners> Listeners>< </sb:MQConnection> </pre> MQConnection> |
Anchor | ||||
---|---|---|---|---|
|
...
The UDM script looks for all files that begin with a 2 and end with .xml on the local server. These file are then transferred to the destination server, overwriting any existing files on the destination server, and the session is closed.
Panel | |
---|---|
Html bobswift | begin_event
event_id "JMS_MESSAGE_TRIGGER"
event_type FILE
comp_name uems
state enable
tracking_int 10
triggered_id "JMS_MESSAGE_HANDLER"
filespec "filesystem/*.txt"
min_file_size 0
rename_file yes
rename_filespec "filesystem/$(origname).xml"
end_event
begin_handler
handler_id "JMS_MESSAGE_HANDLER"
handler_type CMD
maxrc 0
userid username
pwd user_password
cmd "udm -s udm.script"
end_handler
</pre>
|
Anchor | ||||
---|---|---|---|---|
|
...