1

I am using single Sender and Receiver for Sending Object Message.Is this possible to achieve FIFO with out any extra configuration or I have to do something.

I have to means, Please tell me what I have to do ?

I am using PTP Messaging.

Whenever I want to send Message , I am creating a connection and sending message and close the connection.but receiver will be listening forever to receive messages.Receiver end must be FIFO.

I read about single sender and Multiple receiver and other combination .I didn't get anything about single sender to single receiver.

Thanks in Advance.

sunleo
  • 10,589
  • 35
  • 116
  • 196

1 Answers1

2

A queue is by definition FIFO. So in general the answer to your question is yes.

(Then, in the real world, it can get arbitrarily complicated with filtering, messages going to back out queues for failed processing or the backing DB balking or whatever...)

Your "single sender multiple receiver" would likely be the Topic/publish-subscriber pattern - have a look at this SO question.

Cheers,

Community
  • 1
  • 1
Anders R. Bystrup
  • 15,729
  • 10
  • 59
  • 55