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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: <strong>ESB</strong> Endpoints <strong>and</strong> Connections<br />

Table 1 maps the destination configurations to destination requirements.<br />

Table 1. Mapping Destination Requirements<br />

QoS<br />

AT_LEAST_ONCE<br />

or<br />

EXACTLY_ONCE<br />

Destination<br />

Type Multiple Services Single Service Instances<br />

Topic ● Concurrent durable subscription =<br />

true<br />

● Shared subscriptions = true<br />

● Number of listeners = any number<br />

● Durable subscription name must be<br />

non-null<br />

When to Use Topics, When to Use Queues<br />

● Concurrent durable subscription =<br />

false<br />

● Shared subscriptions = false<br />

● Number of listeners = 1<br />

● Durable subscription name must be<br />

non-null<br />

Queue ● No additional configuration required ● No additional configuration required<br />

BEST_EFFORT Topic ● Concurrent durable subscription =<br />

true<br />

● Shared subscriptions = true<br />

● Number of listeners = any number<br />

● Durable subscription name must be<br />

null<br />

● Concurrent durable subscription =<br />

false<br />

● Shared subscriptions = false<br />

● Number of listeners = 1<br />

● Durable subscription name must be<br />

null<br />

Queue ● No additional configuration required ● No additional configuration required<br />

When deciding whether to use queues or topics in your applications, consider that the<br />

underlying <strong>Progress</strong> <strong>Sonic</strong>MQ layer provides some queue-like behavior for topics. The<br />

shared subscription feature enables you to have persistent, load balanced topic subscribers<br />

in your applications, while still allowing other subscribers on the topics.<br />

If you use topics, other services can receive <strong>and</strong> process messages without interfering with<br />

message flow through a process. Using this implementation, you can monitor business<br />

activity with a monitoring service subscribed to one topic, while message flow continues<br />

uninterrupted through a service subscribed to a different topic. This implementation is<br />

also useful in debugging <strong>and</strong> testing your applications <strong>and</strong> processes.<br />

See the <strong>Progress</strong> <strong>Sonic</strong>MQ Application Programming <strong>Guide</strong> for a detailed discussion of<br />

the features <strong>and</strong> benefits of using queues or topics in your applications. If you use topics,<br />

there are other considerations in defining the endpoints that relate to the number of service<br />

instances <strong>and</strong> the QoS. The following sections describe implementing concurrent durable<br />

subscriptions <strong>and</strong> shared subscriptions on topics in <strong>Sonic</strong> <strong>ESB</strong>.<br />

99 <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!