BEA Logo BEA Collaborate Release 2.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Collaborate Documentation   |   Messaging   |   Previous Topic   |   Next Topic   |   Contents   |   Index

 

Welcome to Programming BEA WebLogic Collaborate Management Applications .

This document describes how to use the BEA WebLogic Collaborate Messaging API to develop XOCP protocol messaging applications.


 



 

 

Developing XOCP C-Enabler Applications to Exchange Business Messages

Introduction

Key Concepts

XOCP C-Enabler Applications

C-Enabler Class Library

Conversations and Conversation Definitions

XOCP Business Messages and Message Envelopes

Conversation Initiators and Participants

Conversation Coordinators

Trading Partner States

Secure Messaging

Key Tasks for C-Enabler Applications

Joining a C-Space

Registering for a Role in a Conversation

Engaging in Conversations with Trading Partners

Shutting Down a C-Enabler Session to Leave a C-Space

Run-Time Information Flow

Information Flow Diagram

Steps in the Information Flow

 

Programming Steps for C-Enabler Applications

Step 1: Import Packages

Step 2: Implement the ConversationHandler Interface

Step 3: Create a C-Enabler Session

Step 4: Register a Conversation Handler

Step 5: Initiate or Participate in a Conversation

Step 6: Exchange Business Messages

Step 7: End the Conversation

Step 8: Shut Down the C-Enabler Session

 

Sending XOCP Business Messages

Step 1: Create the Business Message

Importing the Required Packages

Creating Payload Parts

Creating the XOCP Business Message and Adding Payload Parts

Step 2: Specify the Recipients of the Business Message

Specifying a Particular Trading Partner

Using C-Enabler XPath Expressions to Specify Message Recipient Criteria

Step 3: Specify the Quality of Service for Message Delivery

Automatic Quality of Service Features

QualityOfService Class

Code Example

Setting the Message Delivery Confirmation Level

Setting Message Durability

Setting the Number of Delivery Retry Attempts

Setting the Correlation ID for a Business Message

Step 4: Send the XOCP Business Message

Synchronous Message Delivery

Deferred Synchronous Message Delivery

Step 5: Check the Delivery Status of the Business Message

Message Tokens

Delivery Status Tracking

Message Tracking Locations

 

Receiving XOCP Business Messages

About Receiving XOCP Business Messages

Receiving an XOCP Business Message

Tasks Performed

Code Listing

 

 

back to top   next page