简体   繁体   中英

Point-point communication using Java Message Service (JMS)

I have a simple question that I can't find an answer to. I know that a publisher and a subscriber have no connection to each other but how about queues? For a point-point communication, does the message producer have to establish a connection to the message consumer?

does the message producer have to establish a connection to the message consumer?

No - the producer passes the message to the JMS server (which acts as a store and forward device). The JMS server will pass the message on to the consumer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM