<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Position XML-AMQP</title><link>https://sourceforge.net/p/starlink/wiki/Position%2520XML-AMQP/</link><description>Recent changes to Position XML-AMQP</description><atom:link href="https://sourceforge.net/p/starlink/wiki/Position%20XML-AMQP/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 10 Oct 2012 16:58:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/starlink/wiki/Position%20XML-AMQP/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Position XML-AMQP modified by Paul Grace</title><link>https://sourceforge.net/p/starlink/wiki/Position%2520XML-AMQP/</link><description>Running the Example in Connect
---

This scenario illustrates two communication paradigms. An RPC client retrieving information published by a publish/subscribe publisher. In this case an XML RPC client invokes a getPosition operation, while an AMQP service publishes position data to a position queue topic. Note, this mediator relies on the two systems being active at the same time, and makes no guarantees about the freshness of data (each get request pulls of data from the queue in FIFO fashion - hence it will not be the most recent publication).

First, start the Starlink mediator
* ActiveMQ
* java -jar InteractionEnabler.jar
* java -cp InteractionEnabler.jar Examples.Position.C2RabbitMQConnect

Next execute the XML client

* java -cp InteractionEnabler.jar;lib/xmlrpc-client-3.1.3.jar;lib/xmlrpc-common-3.1.3.jar;lib/commons-httpclient-3.0-alpha1.jar;lib/commons-codec-1.2.jar SampleApplications.Positioning.PositionClient

Finally execute the AMQP Publisher

* java -cp InteractionEnabler.jar;lib/xmlrpc-common-3.1.3.jar;lib/rabbitmq-client.jar SampleApplications.Positioning.RabbitMQPublish

Domain Specific Models
---
The interoperability solution is created using only domain specific models. For this implementation there are three XML files in the DSL/ApplicationAutomata/Positioning folder:

* C2Positioning.xml models the behaviour of the XML client application.
* AMQPPublisher.xml models the behaviour of the AMQP publisher application.
* C2toPositionService.xml models the interoperability merge between the two.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Grace</dc:creator><pubDate>Wed, 10 Oct 2012 16:58:56 -0000</pubDate><guid>https://sourceforge.net18982b7f8988e02d6be4b362c96f82f6f85d59dc</guid></item></channel></rss>