Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Endpoints > Example

Example

Now that we have seen the various building blocks of the framework, let’s see a working example. Don’t worry too much if the components appearing in the example don’t makes sense. You will understand all of them as we progess through the book.

A Trader may use a web application to place a Trade. The Trades are sent to a JMS destination, where they are processed by another component to book the Trades. The requirement is to connect to a JMS Destination and fetch the Trades and process them.

The Spring Integration framework helps you focus on coding the business logic while it handles the mundane tasks. You can use an adapter (inbound-channel-adapter) to pick up the messages from an input JMS Queue. The declaration of the adapter is given below:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint