Samples

Transactions spanning multiple resources - an Example with JMS, JDBC and File systems with JTA

This article describes the solution for a sample scenario raised by one of the users at the community site. The complete proof-of-concept is presented herewith, which is less than a handful of lines as shown below.

Read more...
 

Advanced cloning and aggregation with streaming

This article demonstrates the capability of the UltraESB to split messages and aggregate responses, and in particular highlights the capability to stream chunks of responses aggregated as-soon-as-they-become-available; while handling premature timeouts thus preventing the remote client from receiving a partial response on a timeout.

Note: This is an advanced example solving a complex scenario, and was driven by a user request for a proof-of-concept.

Read more...
 

Using DB lookups and XQuery for mock services

This article describes how one could use the XQuery support introduced since 1.0-beta-3-b2, to generate mock REST services. It also describes how ETags could be set and checked against requests.

Read more...
 

Using the UltraESB as a WS-Security gateway

This article describes how the UltraESB can be used as a high performance WS-Security gateway in an enterprise deployment. The example demonstrates how the UltraESB verifies the timestamp and the signature and performs decryption of an encrypted SOAP message, and forwards a valid request to a backend service after removing the security headers. The response is signed and encrypted, and then returned back to the client.

Read more...
 

Schema validation and Error handling with the UltraESB

This example introduces XSD schema validation of XML payloads with the UltraESB. Additionally it shows how the UltraESB performs error handling and recovery - and how a sequence defines another sequence as its error handler.

Read more...
 

Proxy to and from FastInfoset with the UltraESB

This example shows a Proxy service capable of mediating a Jax-WS service, and additionally accepting FastInfoset requests and forwarding them to non-FastInfoset compatible backend services by converting the requests to regular XML. The responses from the backend services are converted again to FastInfoset requests, and sent back to the clients.

Read more...
 

HTTP Basic and Digest Authentication with the UltraESB

This example shows how HTTP Basic and Digest authentication could be enabled on a transport for authentication, and the user information retrieved during message mediation.

Read more...
 

Mock RESTfully with the UltraESB

Creating RESTful mock services is made a trivial task with the UltraESB, as RESTful services can easily be created with just a couple of lines of configuration. This article shows how a mock REST service maybe created that will respond to GET, POST, PUT and DELETE calls. The objective of the example is to introduce the user to the UltraESB for mock RESTful services, and not to convey the most efficient way to develop RESTful services.

Read more...