Академический Документы
Профессиональный Документы
Культура Документы
To connect any kind of application to any other kind of application. This is the traditional
WebSphere MQ scenario, where different applications written in different languages are running
on different operating systems and you want them all to be able to communicate with each other.
To connect J2EE applications running in WAS servers. What has changed in the last few years is
that many of our customers are converting everything to J2EE applications deployed in
WebSphere Application Server so they do not have to support every platform, only WebSphere
Application Server. WebSphere Application Server Version 5 enabled this with its Embedded
Messaging feature, however this is now better addressed with a service integration bus. For the
situation where many WebSphere Application Server applications are communicating, and you
also need to communicate with other non-WebSphere Application Server applications, you must
still use WebSphere MQ as the messaging system.
Architectures you can use for interoperating WebSphere Application Server and WebSphere MQ are
WebSphere MQ as an external JMS messaging provider, WebSphere MQ links, and WebSphere MQ
servers.
Secure externalizing of existing applications: You can use the bus to expose existing applications
as Web services, for use by any Web service-enabled tool, regardless of the implementation
details. This enables applications or Web services deployed on a server deep inside an enterprise to
be made available as Web services on the Internet to customers, suppliers, and business partners.
Security options mean that this access can be tightly controlled.
Return on investment: Business partners can reuse an existing process that you make available as a
Web service using the bus. This gives great scope for the reuse of existing assets.
Protocol transformation: The bus provides support for exposing an existing service implemented
in one protocol (for example, SOAP/JMS), as something entirely different from clients (for
example, SOAP/HTTP). This function is invaluable for ensuring smooth interoperability between
businesses that may implement varying Web services protocols in their business applications.
Messaging benefits: The fact that the bus is built on top of the Java Messaging Service (JMS)
delivered in WebSphere Application Server means that it is able to expose messaging artifacts,
such as queues and topics, as Web services. It also provides advanced options for asynchronous
communication, prioritized message delivery, and quality of service (message persistence).
For more information about what is provided by service integration within WebSphere Application Server,
see the following topics:
The figure below shows a high level view of the function of a WebSphere MQ link: it allows messages to be
exchanged between a WebSphere Application Server and a WebSphere MQ network.
A WebSphere MQ link is a configurable object that describes the attributes required to connect
to, and send or receive messages to or from, a WebSphere MQ queue manager. It is an
administrative entity in WebSphere Application Server, not in WebSphere MQ. A WebSphere
MQ link connects to a specific foreign bus which represents a WebSphere MQ network. A
WebSphere MQ link is defined on a WebSphere Application Server messaging engine in a
service integration bus. The messaging engine that supports the WebSphere MQ link is known
as the WebSphere MQ link engine.
The WebSphere MQ link engine inside the WebSphere Application Server can exchange
messages with a WebSphere MQ queue manager. To the WebSphere MQ link engine, the
WebSphere MQ queue manager appears to be a foreign bus. To the queue manager, the
WebSphere MQ link engine appears to be another WebSphere MQ queue manager.
The figure below shows a bus on a WebSphere Application server and how a messaging engine
on the bus can have a WebSphere MQ link. WebSphere MQ appears as a foreign bus with a
gateway queue manager with a connection to the WebSphere MQ link.
Exchanging messages between a service integration bus, and a foreign bus in a WebSphere MQ
network
WebSphere MQ link can have definitions for a WebSphere MQ link sender or a WebSphere MQ
link receiver or both. The link sender and receiver emulate the behavior of WebSphere MQ
sender and receiver channels.
Note:-
WebSphere MQ link sender, over which messages are sent from a messaging engine in a
service integration bus(in WAS admin console) to a queue manager in a WebSphere MQ
network.
Sender and receiver channels that enable the messaging engine with the WebSphere MQ link
The WebSphere MQ link can have a publish/subscribe bridge, which allows the
publication of messages and establishment of subscription to topics between the
WebSphere Application Server and a broker in the WebSphere MQ network. The
bridge, consisting of one or more broker profiles and topic mappings can be configured
after you define the WebSphere MQ link .
When sending messages to WebSphere MQ through the WebSphere MQ link, you can
include additional fields unique to WebSphere Application Server messaging
technology in the MQRFH2 header, inside a container called the sib folder. The
MQRFH2 header contains information about the structure of the message and its
intended consumers. A WebSphere MQ application can look at or manipulate the
contents of the sib folder if desired.
Exchanging messages between alias destinations, foreign destinations and remote queues.
Defining a WebSphere MQ link in WAS.
Note :-Before starting this task you will need to configure Websphere MQ server:
Know the name of the messaging engine on which you intend to put the WebSphere MQ link.
Have created the foreign bus that represents the WebSphere MQ queue manager network. For
information about creating a foreign bus, see Configuring foreign bus definitions.
Know the name of the WebSphere MQ queue manager that you will define as the gateway through
which messages will be exchanged with the WebSphere MQ link.
Have created sender and receiver channels in the WebSphere MQ network. The WebSphere MQ
link receiver channel must have the same name as its partner sender channel in the WebSphere
MQ network. The WebSphere MQ link sender channel must have the same name as its partner
receiver channel in the WebSphere MQ network. For examples on creating channels
1. In the navigation pane, click Service integration > Buses > [Content Pane] bus_name > [Topology]
Messaging engines > engine_name > [Additional Properties] WebSphere MQ links
5. In the foreign bus name, click the name of the foreign bus that represents the WebSphere MQ network.
6. Type the virtual, messaging-engine queue-manager name, that is, the queue name that WebSphere MQ
will use to address this service integration bus. This is the service integration bus name. Maximum
48 characters.
7. Review the default values in the remaining fields on the panel, using the field help in the Help pane to
find out more information about each field. Modify any values as necessary.
8. Click Next.
1. Type the name of the sender channel associated with this WebSphere MQ link. Maximum 20
characters. This name must be the same as the name of the partner receiver channel in the
WebSphere MQ network.
2. Type the host name or address of the target queue manager in the WebSphere MQ network.
3. Enter the port number on which the gateway queue manager is listening for the inbound
communication requests.
4. Type the transport chain, that is the communication protocol for the foreign bus. Possible choices
include "OutboundBasicMQLink" and "OutboundSecureMQLink". For more information
seeOutbound transport options and Securing connections to a WebSphere MQ network.
5. Review the default values in the remaining fields on the panel, using the field help in the Help pane
to find out more information about each field. Modify any values as necessary.
1. Type the name of the receiver channel associated with this WebSphere MQ link. Maximum 20
characters. This name must be the same as the name of the partner sender channel in the WebSphere
MQ network.
2. Review the default values in the remaining fields on the panel, using the field help in the Help pane
to find out more information about each field. Modify any values as necessary.
13. Check the summary of WebSphere MQ link properties, and when you are satisfied click Finish.
onnections between a WebSphere Application Server and a WebSphere MQ network may utilize the Secure
Sockets Layer (SSL) protocol to increase the confidentiality and integrity of messages transferred between
a messaging engine on a service integration bus and WebSphere MQ.
By default, new application servers are configured to accept inbound WebSphere MQ connections through
two inbound transport chains. To read about inbound transport chains, see Inbound transport options. One
of these chains is configured to accept SSL-based connections, making it possible to configure a sender
channel in the WebSphere MQ network to connect through this channel chain and establish an SSL-based
connection (information about securing WebSphere MQ sender channels can be found in the book
WebSphere MQ Security, SC34-6079). Because all WebSphere MQ interoperation resources hosted by an
application server can be contacted by all inbound MQ transports defined to that server, take care to restrict
the inbound transports that are enabled. This is important because the default application server
configuration has definitions for inbound WebSphere MQ transports that are not secured using SSL. To
read about secure transport considerations see Secure transport considerations).
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsptopic=/com.ibm.websphere.pmc.express.do
c/concepts/cjc0002_.html
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsptopic=/com.ibm.websphere.pmc.express.do
c/concepts/cjc0001_.html