PEtALS

Table of Contents

PEtALS Components User Guide
PETALS Components
1. Component management
1.1. ANT Task
1.1.1. Installation
1.1.2. Configuration
1.1.3. Start, Stop, Shutdown
1.1.4. Uninstallation
1.2. Hot Deployment
1.2.1. Installation and Start
1.2.2. Stop and Uninstall
1.3. JMX
1.3.1. Load the Installer
1.3.2. Configuration
1.3.3. Installation
1.3.4. Start, Stop, Shutdown
1.3.5. Uninstallation
1.3.6. Unload the Installer
1.4. Web Console
2. Service Deployment
2.1. Package the Configuration
2.1.1. Service Assembly descriptor
2.1.2. Service Assembly packaging
2.2. ANT Task
2.2.1. Deployment
2.2.2. Start, Stop, Shutdown
2.2.3. Undeployment
2.3. Hot Deployment
2.3.1. Deployment and Start
2.3.2. Stop and Undeployment
2.4. JMX
2.4.1. Deployment
2.4.2. Start, Stop, Shutdown
2.4.3. Undeployment
PEtALS-BC-Filetransfer
PEtALS-BC-FILETRANSFER
1. Component Configuration
2. Service Configuration
2.1. Sending files
2.1.1. Service Unit descriptor
2.1.2. Usage
2.2. Receiving files
2.2.1. Service Unit descriptor
2.2.2. Usage
3. Samples
PEtALS-BC-FTP
PEtALS-BC-FTP
1. Component Configuration
2. Service Configuration
2.1. Send commands to the FTP server
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
2.1.3. FTP commands
2.1.3.1. DIR operation
2.1.3.2. PUT operation
2.1.3.3. GET operation
2.1.3.4. MGET operation
2.2. Listen FTP events (not implemented)
3. Samples
PEtALS-BC-JMS
PETALS-BC-JMS
1. Component Configuration
2. Service Configuration
2.1. Send or publish a JBI message to a JMS Queue or Topic
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
2.2. Send a JBI message from a received or published JMS Message
2.2.1. Service Unit descriptor
2.2.2. Service Unit content
3. Samples
3.1. Install the External JMS Server
3.2. Send a JMS Message to the JBI Helloworld Service Engine
3.3. Send a JBI Message to the external JMS provider
PEtALS-BC-MAIL Component User's Guide
PEtALS-BC-MAIL
1. Component Configuration
2. Service Configuration
2.1. Send mails
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
2.1.3. Usage
2.2. Receive mails
2.2.1. Service Unit descriptor
2.2.2. Service Unit content
2.2.3. Usage
3. Samples
3.1. Send an Email Message to the JBI Helloworld Service Engine
3.2. Send a JBI Message to the external email box
PEtALS-BC-SOAP
PETALS-BC-SOAP
1. Features
2. Component Configuration
3. Service Configuration
3.1. Send a JBI message to an external Web Service
3.1.1. Service Unit descriptor
3.2. Send a JBI message from an incoming SOAP message
3.2.1. Service Unit descriptor
4. Web Service notifications
4.1. Intoduction
4.2. Create a WS-N topic
4.3. Subscribe to WS-N producer
4.4. Send a WS notification from a JBI message
5. Security
5.1. Introduction
5.2. Configuration
5.3. Client side
6. Service Unit samples
6.1. Basic
6.2. Topic
6.3. Security
PEtALS-BC-XMPP Component User's Guide
PEtALS-BC-XMPP
1. Component Configuration
2. Service Configuration
2.1. Send XMPP messages
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
2.1.3. Usage
2.1.4. Sending Files via XMPP
2.2. Receive Xmpp messages
2.2.1. Service Unit descriptor
2.2.2. Service Unit content
2.2.3. Usage
3. Samples
3.1. Sending a message to a jabber user
3.2. Sending a Xmpp Message to the JBI Helloworld Service Engine
PEtALS-SE-CSV
PEtALS-SE-CSV
1. Component Configuration
2. Service Configuration
2.1. Operations
2.1.1. csvToXml operation
2.1.2. xmlToCsv Operation
2.2. Deploying a CSV service unit
2.2.1. Service Unit descriptor
2.2.2. Service Unit content
3. Samples
PEtALS-SE-EIP
Preface
1. Operations
1.1. Process
1.2. getEipExtension
1.3. setEipExtension
2. Orchestration format
2.1. The "extension" element
2.2. The "call" element
2.3. The execution context
2.3.1. The "chain" element
2.3.2. The "dispatch" element
2.3.3. The "aggregate" element
2.4. Dynamic calls
2.4.1. The "get-calls-by-service" element
2.4.2. The "get-calls-by-xpath" element
2.5. Conditions
2.5.1. The "if" element
2.5.2. The "choose" element
2.5.3. Samples of conditions
2.6. Imbrications
2.6.1. Samples of imbrications
2.7. Patterns
2.8. Sample
2.8.1. Service Assembly sample for EIP component
2.8.2. SampleTestService
2.8.2.1. Operations on numbers
2.8.2.2. Operations on text
PEtALS-SE-Pojo
PETALS-SE-POJO
1. Component Configuration
2. Service Configuration
2.1. Expose a Java class as service
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
3. POJO Service Specifications
4. Samples
PEtALS-SE-RMI
PETALS-SE-RMI
1. Component Configuration
1.1. Configuration
1.2. Installation
1.3. Usage
2. How to implement a RMI client
2.1. How to access to the RMI registry
2.2. How to get the remote component context and activate/desactivate endpoints
2.3. How to get the remote message exchange factory and create different kind of messages
2.4. How to get the remote delivery channel and send/accept JBI messages
PEtALS-SE-XSLT
PEtALS-SE-XSLT
1. Component Configuration
2. Service Configuration
2.1. Transform XML messages
2.1.1. Service Unit descriptor
2.1.2. Service Unit content
2.1.3. Usage
3. Samples
PEtALS-SE-sampleclient
PEtALS-SE-SAMPLECLIENT
1. Component Configuration
2. Usage
2.1. Component installation
2.2. Retrieve JBI endpoints
2.3. Send message
PEtALS-SE-Clock
PEtALS-SE-CLOCK
1. Features
2. Usage
PEtALS-SE-Helloworld
PEtALS-SE-HELLOWORLD
1. Features
2. Service Configuration
2.1. Saying hello to the world
2.1.1. Service Unit descriptor
3. Samples
Monitoring Console User Guide
Structure of the document
1. Pre-requisites
2. Presentation of the web application
3. Installation
3.1. Environment
3.1.1. PATH
3.1.2. CLASSPATH
3.2. Components
3.2.1. JMX storage server
3.2.2. Application Web
4. Start/Stop
4.1. RMI Registry
4.2. JMX storage server
4.3. Web Application
5. Monitoring console usage
5.1. Connection
5.2. Monitoring
5.2.1. Network
5.2.2. Server
5.2.3. Message Exchanges
6. Administration
6.1. Install a component/ service assembly
6.2. Manage components/ service assemblies
Component Framework
Component Development Kit
1. How to create a ServiceEngine (sample : XSLT component) ?
1.1. Classes to implement
1.1.1. Main class of the component
1.1.2. JBI messages processing class
1.2. Component's configuration
1.3. Services activation
2. How to create a BindingComponent (sample : Mail component) ?
2.1. Classes to implement
2.1.1. Main class of the component
2.1.2. JBI messages' processing class
2.1.3. External messages' processing class
2.2. Component's configuration
2.3. Services' activation
2.4. Consuming services
3. Go one step further...
3.1. Extensions of the deployment descriptors (jbi.xml file)
3.1.1. Component's extensions
3.1.1.1. Where are they located in the deployment descriptor ?
3.1.1.2. How to access them in the component ?
3.1.2. Extensions of the ServiceUnits' "provides" or "consumes" fields
3.1.2.1. Where are they located in the deployment's descriptor ?
3.1.2.2. How to access them in the component ?
3.2. Advanced attributes for Component's configuration
3.3. Advanced attributes for ServiceUnit's configuration
3.4. Exchange' interceptors
3.4.1. Definition
3.4.2. Interceptor's implementation
3.5. Configuration
3.5.1. Interceptor's configuration at Component's level
3.5.2. Interceptor's configuration at ServiceUnit's level
3.6. Benchmark notifications
3.6.1. Introduction
3.6.2. Use case
3.6.3. Client's approach
3.6.4. Development side
3.7. Exchange's sending in the JBI container
3.7.1. Synchronous send() with timeout
3.7.2. Synchronous send() without timeout
3.7.3. Asynchronous send() without answer's synchrony
3.7.4. Asynchronous send() with answer's synchrony