10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: <strong>ESB</strong> Containers<br />

<strong>ESB</strong> Container Intra-container Messaging<br />

Intra-container messaging allows a container to bypass the overhead of sending <strong>and</strong><br />

receiving messages to <strong>and</strong> from services in a process when the next service in an <strong>ESB</strong><br />

Process resides in the same container. When you select intra-container messaging for an<br />

<strong>ESB</strong> Container, a message in the Outbox of one service (that is addressed to another<br />

service in the same <strong>ESB</strong> Container) is sent directly the other service, bypassing the broker.<br />

Messages sent to a <strong>Sonic</strong> <strong>ESB</strong> service where intra-container messaging is enabled bypass<br />

the broker, so any listeners outside the container will not receive these messages. The<br />

Quality of Service (QoS) for the entire message dispatch through a process or chain of<br />

services is dictated by the QoS of the entry endpoint of the service that first receives the<br />

message off the originating JMS destination.<br />

For example, when a service whose entry endpoint has a QoS of EXACTLY_ONCE receives a<br />

message, that message will have QoS of EXACTLY_ONCE throughout the process until it<br />

reaches another JMS destination, regardless of the QoS of any other services it passes<br />

through after the first service. In this example, if a fatal error (such as a container crash,<br />

machine crash, or power failure) occurs, a message that is not committed at the time of<br />

failure will be resent when the container becomes available. The uncommitted message is<br />

resent in this case because it retains the QoS of EXACTLY_ONCE. See “Quality of Service”<br />

on page 111 for more information about QoS.<br />

61 <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!