Cimero 2

From Eclipsepedia

Revision as of 15:26, 5 February 2008 by Natacha.bagnard.bull.net (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cimero2Editor.png

Contents

Introduction

Cimero is an open source graphical tool, developed by Bull, that allows developers to construct systems using the Enterprise Integration Patterns visualizations. The Cimero team are now working on Cimero 2, updating the technology to take advantage of newer Eclipse components, and they have decided to contribute this new work to the SOA Tools Platform (IPZilla entry).

Proposed Contributors

  • Bull

Proposed Committers

  • Jerome Camillieri (Bull)
  • Natacha Bagnard (Bull)
  • Julien Forot (Bull)

Overview

The CIMERO2 Editor Plug-in allows you to create a visual representation of a ServiceMix or Petals Enterprise Service Bus flows under Eclipse IDE. After making your graphical creation, you'll be able to generate a JBI package which could be deploy on the targeted ESB you chose to use.

The initial Servicemix components available with Cimero2 Editor are :

Service Engines

  • Bean
  • Content based router
  • Content Enricher
  • Drools
  • Jsr181
  • Message filter
  • Pipeline
  • Saxon
  • Split aggregator
  • Static routing slip
  • Xpath splitter
  • Wire tap

Binding components

  • Ftp
  • Http
  • Jms
  • Quartz

Presentation

Choosing the ESB

When creating a new diagram, you could choose the targeted ESB : Petals or ServiceMix.

Cimero2Editor ChooseESB.png

A diagram example

Here is a sample example of a flow designed with Cimero2. The targeted ESB is ServiceMix. Here you have a Http going to a wire-tap, sending a copy to a FTP server and the original message to a pipeline which throw it to a saxon that do a xslt transformation before returning it to the pipeline. Finally, pipeline send it to an other FTP server.

Cimero2Editor GraphExample screenshot.png


Component configuration

Each components of the diagram could be configured by using the Eclipse properties view to set the component property values. Here is an example of the Http component properties.

Cimero2Editor PropertiesExample.png

You could see that some informations are already set just by puting and connecting some component together. Those informations are relative to endpoints, interfaces and services names. Then the user is help by an icon representation of the type of the property and its states showed by the icons color.

Icons

Icons are their to help you to know the type of the properties value. This is the types corresponding to each icon :

Generic GenericValue.gif String TextValue.gif Integer IntegralValue.gif URL URL.gif URI URI.gif Boolean BooleanValue.gif

QName QName.gif Class Class.gif File Resource.gif Role RoleValue.gif MEP MEPValue.gif Namespace NameSpaceType.gif

Colors

  • Required properties are in red GenericValue required.gif
  • Unrequired properties are in blue GenericValue.gif
  • Already set properties are in green GenericValue set.gif

Exclusive properties

Some properties allow the user to only set one of its children. Its an exclusive choice. Those properties are shown by using the following icon : XOR.gif.

Required properties

Some properties of a component are required, sometimes it could be only a leaf property. That's why properties which have at least a required sub property with no value set are shown by using this icon : Alert obj required.gif.

Repeatable properties

Some properties are repeatable.It means that you can add the same property as many time as you need. Each one has its own value. To add a property, click on the repeatable property and then click on the Plus.png a repeatable property button. A new unset property will appear. To delete a property you added before, click on the property and then click on the Delete.gif button. The property will dispappear.

Validation

You could see that you diagram respect some basic jbi flow rules by using the validation action. It show you problems on your diagram and on the Eclipse Problems view.

Cimero2Editor ValidationError.png

File:Cimero2Editor ProblemsView.png


Generation

Then final goal of the flow designing is to generate the configuration files and/or the jbi package that will be used to deployed it on the targeted ESB you choose at the beginning. You could choose to generate only the configuration files with a Ant task to generate the jbi package after you made your manual transformations on the files. Or you choose to generate the the configuration files and the final jbi package without making any modifications on the files.

Then you just need to deployed the generated packaged on the targeted ESB and use it.