Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Cimero 2"

(Overview)
 
Line 52: Line 52:
 
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.
 
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.
  
[[Image:Cimero2Editor GraphExample.png]]
+
[[Image:Cimero2Editor GraphExample screenshot.png]]
  
  
Line 63: Line 63:
  
 
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.
 
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 (red means that the property need to be set, green that it already have a value and blue that it could have a value if the user wants).
+
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 [[Image:GenericValue.gif]] String [[Image:TextValue.gif]] Integer [[Image:IntegralValue.gif]] URL [[Image:URL.gif]] URI [[Image:URI.gif]] Boolean [[Image:BooleanValue.gif]]
 +
 +
QName [[Image:QName.gif]] Class [[Image:Class.gif]] File [[Image:Resource.gif]] Role [[Image:RoleValue.gif]] MEP [[Image:MEPValue.gif]] Namespace [[Image:NameSpaceType.gif]]
 +
 +
'''Colors'''
 +
 +
* Required properties are in red [[Image:GenericValue required.gif]]
 +
* Unrequired properties are in blue [[Image:GenericValue.gif]]
 +
* Already set properties are in green [[Image: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 : [[Image: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 : [[Image: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 [[Image: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 [[Image:Delete.gif]] button. The property will dispappear.
  
 
===Validation===
 
===Validation===

Latest revision as of 15:26, 5 February 2008

Cimero2Editor.png

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.

Back to the top