Professional Documents
Culture Documents
Model?
The publish-and-subscribe model is a specific type of
message-based solution in which messages are exchanged
anonymously through a message broker.
Publishing Applications produce information that needs to be
shared will make this information available in specific types of
recognizable documents that they publish to the message
broker.
Subscribing Applications subscribe to the document types
they need.
At run time, the message broker receives documents from
publishers and then distributes the documents to subscribers.
The subscribing application processes or performs work using
the document and may or may not send a response to the
publishing application.
BROKER
Origin Of Broker
Features Of Broker
webMethods Broker provides the high-speed messaging
backbone for the webMethods Integration Platform.
It enables asynchronous, guaranteed message delivery
and routing in a highly efficient and scalable architecture.
House the flow,logic,code and orchestration of all
internal integration transactions.
Main Server for adapter connectivity and communication.
Centralized Server of all Internal Transactions.
Centralized Logging,Queuing of all Internal transactions.
Components
Broker Server:
Client applications publish and subscribe to information
in the form of documents.The Broker Server manages the
flow of documents among clients, Brokers, and various
applications.
Broker:
Each Broker Server has one or more entities,
called Brokers, that reside on it. A Broker is where the
client programs connect, where document types are stored,
and where client queues and subscriptions are
monitored and stored.
Components
Broker Clients:
A Broker client is a handle that is created and used
by client programs. It represents a connection to a particular
Broker.
Territory:
Brokers can share information about their document type
definitions and client groups by joining a territory. Brokers
within the same territory have knowledge of each others
document type definitions and client groups.
Components
Client State:
Describes a connection between a Broker client and a
Broker. It includes a client identifier, the client queue,the
client subscriptions.
Client Groups:
A configuration mechanism used in webMethods
Enterprise Server to configure and control the interaction
between Broker clients and a Broker. A client group defines
how queues are managed and document access permissions.
Components
Client Queue:
An area of storage on a Broker used to hold documents
destined for a specific client. A document is held in the client
queue until it is retrieved by the client.
Document type:
Document types are the basis for establishing subscriptions
client registers an interest in receiving documents of a specific
type.
Territory
A facility by which two or more Brokers communicate
and share document definitions.
Territories
All Brokers in a territory share the same client groups
and document types.
Within a territory, documents published on one Broker
can be sent to other Brokers because they are delivered
there or a client on another Broker has a matching
subscription.
You cannot merge territories. To create a single territory
where two existed before, the Brokers in one territory
must leave it and then join the second territory .
A territory cannot be empty.
Managing Territories
Creating a Territory:
1.Open MWS Administration Messaging if it is not already
open.
2. Navigate to the Broker Information page of the Broker for which
you will create a territory.
3. Click Create a New Territory.
4. Type the name that is to belong to the territory in the New Territory
Name field.
5. Click Create.
Leaving a Territory:
1. Open the MWS Administration Messaging if it is not already
open.
2. Navigate to the Broker Information page of the Broker who will
leave a territory.
3. Click Leave Territory.
Territory Gateways
A territory gateway is a connection between two
territories, allowing the transfer of documents between
the territories.
Territory Gateway
Creating Gateways:
already open.
Open the Gateway Information page of the Gateway Broker.
Click Remove Gateway.
Select either Remove Both Sides of Gateway or Remove One
Side of Gateway.
Click Remove.
Publish-Subscribe Model
Documents
Publishable Document Types
Triggers
Services
Adapter Notifications
Canonical Documents
Adapter Notifications:
Adapter notifications notify the webMethods Integration Platform
whenever a specific event occurs on an adapter's resource.
Canonical Documents:
A canonical document is a standardized representation that a
document might assume while it is passing through the webMethods
Integration Platform.
A canonical document acts as the intermediary data format between
resources.
pub.publish:deliverAndWait:
Delivers a document to a specified destination and waits for a
response.
pub.publish:publish:
Publishes a document locally or to a configured Broker.
pub.publish:reply:
Delivers a reply document in answer to a document received
by the client.
pub.publish:waitForReply:
Retrieves the reply document for a request published
asynchronously.
Creating a Trigger
On the File menu, click New.
In the New dialog box, select Trigger, and click Next.
In the New Trigger dialog box,provide the folder and
trigger name.
Creating a Trigger
Thank You!!!!