Hmm...
You got me there. I know that is true for queues. But I'm not sure for topics.
I don't know if you can ensure ordered delivery with topics, because you
would have to have a LOT of communication between routers them self to
ensure that.
Maybe Andreas knows something we don't :))))
Best regards,
Kovi
At 01:13 18.6.01 +0200, you wrote:
>Hi Kovi,
>
>Thanks for your idea, but I don't think it quite fits my problem space.
>I'll explain a bit more, with respect to what we're seeing here.
>
>My understanding is that JMS will provide a mechanism to deliver messages
>from a single publisher to all active subscribers of that publisher's topic.
>All of these subscribers will receive the messages from the publisher in
>EXACTLY the same order. And that's great but...
>
>When we have multiple publishers of data on a topic, we are seeing that this
>rule changes. The subscribers to that topic receive the messages from each
>individual publisher in order, but the messages as a whole (at the
>subscribers end are not ordered), ie.
>
>Sub1 receives Pub1-1, Pub2-1, Pub2-2, Pub3-1, Pub1-2, Pub3-2
>Sub2 receives Pub2-1, Pub1-1, Pub2-2, Pub2-2, Pub3-1, Pub3-2
>Sub3 receives Pub3-1, Pub2-1, Pub3-2, Pub1-1, Pub2-2, Pub1-2
>
>(or some other mixing of publishers messages)
>
>Note in the example above Sub1 and Pub1 are using Router1, Sub2 and Pub2 are
>using Router2, Sub3 and Pub3 are using Router3. In our scenario, we can
>have ~70 multicast routers on the same LAN.
>
>That leads me now to believe that to overcome this, I need to "elect" a
>single machine on the network to be responsible for the delivery of ordered
>messages (from multiple publishers). That is, Pub1, Pub2 and Pub3 all
>publish messages to PubOrdered. A thread on only machine (and only that one
>machine) subscribes to all messages on PubOrdered, and then pumps them back
>on a SubOrdered topic. All subscribers (on all routers) read from this
>topic only. Only in this way will all subscribers receive messages in
>exactly the same order.
>
>So before I embark on this design decision and its implications, can someone
>please let me know if there is a way to make JMS messages published from
>multiple routers arrive at each subscriber (on different routers) in the
>same order, or do I have to "elect" a message orderer (a single publisher on
>a single router).
>
>Andreas (or others) please comment.
>
>Regards,
>Trent
>
>-----Original Message-----
>From: Gregor Kovač [mailto:[EMAIL PROTECTED]]
>Sent: Friday, 15 June 2001 10:28 PM
>To: [EMAIL PROTECTED]
>Subject: [developers] Topic question
>
>Hi!
>
>Just now I have been reading some JMS specs and got this idea:
>Whenever you have to ensure a particular order of messages you can use
>priority on that message.
>So in your case:
>- x has the highest priority
>- y medium
>- z lowest
>
>I hope this helps.
>Best regards,
> Kovi
>
>
>At 03:54 14.6.01 +0200, you wrote:
> >Hi all,
> >
> >Help! We are trying to deploy a federated network of SwiftMQ routers
>(using
> >multicast). Each machine in our network is running a copy of SwiftMQ. Is
> >it possible to do the following...
> >
> >For a given topic, say 'transactions' we have multiple publishers and
> >subscribers (on each machine).
> >Is it possible (please say yes), to ensure that all subscribers in this
> >federated network receive their messages in exactly the same order (whilst
> >they are subscribing).
> >
> >Example: machine 1 publishes x, machine 2 publishes y, machine 3 publishes
> >z
> >All subscribers receive x, y and z (in that order) on all machines.
> >
> >Regards,
> >Trent
> >
> >
> >------------------------------------------------------
> >SwiftMQ developers mailing list * http://www.swiftmq.com
> >To unsubscribe from this list, send an eMail to
> >[EMAIL PROTECTED] and write in the body of your message:
> >UNSUBSCRIBE developers <your-email-address>
> >Archive: http://www.mail-archive.com/developers@mail.iit.de/
>
>Kako si kaj
>
>
>------------------------------------------------------
>SwiftMQ developers mailing list * http://www.swiftmq.com
>To unsubscribe from this list, send an eMail to
>[EMAIL PROTECTED] and write in the body of your message:
>UNSUBSCRIBE developers <your-email-address>
>Archive: http://www.mail-archive.com/developers@mail.iit.de/
>
>
>------------------------------------------------------
>SwiftMQ developers mailing list * http://www.swiftmq.com
>To unsubscribe from this list, send an eMail to
>[EMAIL PROTECTED] and write in the body of your message:
>UNSUBSCRIBE developers <your-email-address>
>Archive: http://www.mail-archive.com/developers@mail.iit.de/
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/