ESB Tools

Content

We have two synapse namespaces as http://ws.apache.org/ns/synapse and http://synapse.apache.org/ns/2010/04/configuration. First namespace is the latest namespace and the second one is the previous namespace.



New Server Runtime



Sequence Artifact

To create a sequence, right click on the CApp project and select Sequence from the menu.



New Server Runtime



There are three ways to create a sequence.
  1. New Sequence
  2. Import Sequence from File System
  3. Import Sequence from Registry




New Server Runtime



With the New Sequence option, you will get a simple sequence with the specified name. At the same time, you can upload a Synapse Configuration file or any xml file from the file system or from the registry which may contains Sequences.



New Server Runtime



With the Import Sequence from Registry, you can browse resources of the registry instance that you have already created or you can create a new registry instance as well.





New Server Runtime



After selecting the registry instance, click on Browse to browse resources in registry.





New Server Runtime



When you select the xml file, it will list all the sequences available in a table. Select the sequences you want and click Next.





New Server Runtime



Select the CApp project you want to create Sequences and click Finish.





New Server Runtime



Now you will see new sequence artifacts are created under the selected CApp project.





New Server Runtime







New Server Runtime



>EndPoint Artifact

To create an endpoint, right click on the CApp project and select EndPoint from the menu.





New Server Runtime



There are three ways to create an endpoint.

  1. New EndPoint
  2. Import EndPoint from File System
  3. Import EndPoint from Registry




New Server Runtime



With the New EndPoint option, you will get a simple endpoint with the specified name. At the same time, you can upload a Synapse Configuration file or any xml file from the file system or from the registry which may contains EndPoints.



New Server Runtime



With the Import EndPoint from Registry, you can browse resources of the registry instance that you have already created or you can create a new registry instance as well. After selecting the registry instance, click on Browse to browse resources in registry.





New Server Runtime



When you select the xml file, it will list all the endpoints available, in a table. Select the endpoints you want and click Next.

Select the CApp project you want to create EndPoints and click Finish.





New Server Runtime



Now you will see new endpoint artifacts are created under the selected CApp project.





New Server Runtime



Local Entry Artifact

To create an ESB Local Entry, right click on the CApp project and select Local Entry from the menu.





New Server Runtime



There are four ways to create local entry.

  1. New Local Entry
  2. Import From a Source URL Entry
  3. Import Local Entries from synapse.xml of the file system
  4. Import Local Entries from a synapse.xml of the registry




New Server Runtime



With the New Local Entry option, you can create local entries with In-lined Text Entry or In-lined XML Entry.



New Server Runtime



You can edit the created local entry with ESB editor later with graphical editor that is provided.





New Server Runtime



With the Import From a Source URL Entry, you can point to a file of the local file system.





New Server Runtime



With the next two options Import Local Entries from synapse.xml of the file system and Import Local Entries from a synapse.xml of the registry, you can point to a synapse.xml file of the file system or registry.





New Server Runtime



When you select the xml file, it will list all the local entries available, in a table. Select the local entries you want and click Next.

Select the CApp project you want to create Local Entries and click Finish.





New Server Runtime



Now you will see new endpoint artifacts are created under the selected CApp project.





New Server Runtime



You can edit created Local Entries later with the help of ESB editor.





New Server Runtime



Proxy Service Artifact

To create a proxy service, right click on the CApp project and select Proxy Service from the menu.





New Server Runtime



There are three ways to create a sequence.

  1. New Proxy Service
  2. Import Proxy Service from File System
  3. Import Proxy Service from Registry




New Server Runtime



With the New Proxy Service option, you will get a simple proxy service with the specified name. At the same time, you can upload a Synapse Configuration file or any xml file from the file system or from the registry which may contains Proxy Services.



New Server Runtime



With the Import Proxy Service from Registry, you can browse resources of the registry instance that you have already created or you can create a new registry instance as well. After selecting the registry instance, click on Browse to browse resources in registry.





New Server Runtime



When you select the xml file, it will list all the proxy services available in a table. Select the proxy services you want and click Next.

Select the CApp project you want to create Proxy Services and click Finish.





New Server Runtime



Now you will see new proxy services are created under the selected CApp project.





New Server Runtime



Synapse Configuration Artifact

To create a synapse configuration, right click on the CApp project and select Synapse Configuration from the menu.





New Server Runtime



There are four ways to create a synapse configuration.

  1. Create Synapse Configuration from template
  2. Create Empty Synapse Configuration
  3. Import synapse file from the file system
  4. Import synapse file from the registry




New Server Runtime



With the Create Synapse Configuration from template option, you will get a simple synapse configuration which will contains main sequence and fault sequence by default.



New Server Runtime



If you select Create Empty Synapse Configuration, you will get an empty synapse configuration file. At the same time, you can upload a Synapse Configuration file or any xml file from the file system or from the registry.





New Server Runtime



With the Import synapse file from the registry, you can browse resources of the registry instance that you have already created or you can create a new registry instance as well. After selecting the registry instance, click on Browse to browse resources in registry. When you select the xml file, it will list all the sequences, endpoints and proxy services available, in a table. Select the artifacts you want and click Next.





New Server Runtime



Select the CApp project you want to create Synapse Configuration and click Finish.





New Server Runtime



Now you will see new endpoint, proxy or sequence artifacts are created under the selected CApp project.





New Server Runtime