29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

To ensure that the messaging engine runs on one particular server in the cluster,<br />

(for example, if you have one primary server and one backup server, or if you<br />

want the messaging engine to only run on a small group of servers within the<br />

cluster), you must specifically configure it by defining the preferred server for the<br />

messaging engine. Each messaging engine on a service integration bus belongs<br />

to one high availability group. A policy assigned to the group at runtime controls<br />

the members of each group. This policy determines the availability<br />

characteristics of the messaging engine in the group and is where preferred<br />

servers are designated. Be careful not to reduce or remove the high availability of<br />

the messaging engine by having a list of preferred servers that is too restricted.<br />

To obtain workload management across a bus with a cluster, you need to create<br />

additional messaging engines and assign the messaging engines to a preferred<br />

server. The messaging engines run simultaneously with queues partitioned<br />

across them. You might need to consider clustering some application server if<br />

you have not already.<br />

10.5.4 Planning for reliability<br />

The JMS specification supports two modes of delivery for JMS messages:<br />

► Persistent<br />

► Non-persistent<br />

The <strong>WebSphere</strong> administrator can select the mode of delivery on the JMS<br />

destination (queue/topic) configuration:<br />

► <strong>Application</strong> (persistence is determined by the JMS client)<br />

► Persistent<br />

► Non-persistent<br />

Messages can also have a quality of service attribute that specifies the reliability<br />

of message delivery. Different settings apply depending on the delivery mode of<br />

the message. The reliability setting can be specified on the JMS connection<br />

factory and, for the default messaging provider, on the bus destination. Reliability<br />

settings set at the connection factory apply to all messages using that connection<br />

factory, though you can opt to let the reliability settings be set individually at the<br />

bus destination. Each reliability setting has different performance characteristics.<br />

The settings are as follows:<br />

► Best effort non-persistent<br />

► Express non-persistent<br />

► Reliable non-persistent<br />

► Reliable persistent<br />

► Assured persistent<br />

Chapter 10. Messaging 353

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

Saved successfully!

Ooh no, something went wrong!