To expand on model a bit :

The model is currently designed to support a Pub/Sub model. We have several
applications that publish documents and events to ActiveMQ. Each application
is assigned a queue each message that is submitted to the queue is placed in
an XML wrapper (see below) using a Camel route the message is sent to a
topic or queue that is described in the message envelope Route element.

So on one side we have queues that represents the applications. On the other
side we have queues/topics that represents data types such as xml Documents,
Events, .... This allows the developers to have a single point of entry and
control of the routing of data.

<http://activemq.2283324.n4.nabble.com/file/n4708718/3-1-2016_9-04-29_AM.bmp> 

Example Message:

<km:FMIMessage xmlns:km=&quot;http://xsdrepo.&lt;server>.com/messaging/esb"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://xsdrepo.<server>.com/messaging/esb
http://xsdrepo.<server>.com/messaging/esb/ESBMessageV3.xsd">
  <km:Header>
    <km:MsgVersion>1.4</km:MsgVersion>
    <km:MsgType>Event</km:MsgType>
    <km:MsgTypeFilter>Info</km:MsgTypeFilter>
    <km:Source>LPublisher</km:Source>
    <km:Route>activemq:topic:TrackingEvent</km:Route>
    <km:Destination>ALL</km:Destination>
  </km:Header>
  <km:Payload>
    <st:TRFEvent xmlns:st=&quot;http://xsdrepo.&lt;server>.com/messaging"
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xsi:schemaLocation="http://xsdrepo.<server>.com/messaging
http://xsdrepo.<server>.com/messaging/trfevent.xsd">
      <st:PublisherMsgID>470208</st:PublisherMsgID>
      <st:Name>Specimen</st:Name>
      <st:Date>2015-09-08T12:42:06</st:Date>
      <st:TRFNumber>TRFXXXXX</st:TRFNumber>
      <st:SpecimenID>TRFXXXXX.01</st:SpecimenID>
      <st:ProcessStep>Accessioning</st:ProcessStep>
      <st:UniqueID>TRFXXXXX.01</st:UniqueID>
      <st:Status>Created</st:Status>
      <st:Properties/>
      <st:Parents>
        <st:Parent>TRFXXXXX</st:Parent>
      </st:Parents>
    </st:TRFEvent>
  </km:Payload>
</km:FMIMessage>



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Help-with-a-Failover-testing-that-shows-missing-messages-tp4707916p4708718.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to