concept adapter in category java

This is an excerpt from Manning's book Spring Integration in Action.
Spring Integration addresses these challenges. It aims to increase productivity, simplify development, and provide a solid platform from which you can tackle the complexities. It offers a lightweight, noninvasive, and declarative model for constructing message-driven applications. On top of this, it includes a toolbox of commonly required integration components and adapters. With these tools in hand, developers can build the types of applications that literally change the way their companies do business.
That adapter has a poller, and it’s configured to poll every 10 seconds. With each poll, it attempts to read up to 25 tweets from the timeline of the user whose OAuth credentials are provided to the template. One thing you might notice is that the element defined in the namespace for this adapter is named inbound-channel-adapter, whereas the adapter that performed a Twitter search was more explicitly named search-inbound-channel-adapter. The rationale is that reading the timeline is the most obvious thing you can do with Twitter. If you have a Twitter client on your desktop or phone, when you start that client application, the default view is most likely the timeline. In the next section, we explore what’s probably the most popular use of Twitter for outbound adapters: updating your Twitter status.
The first step to using any of the XMPP adapters is to set up an account and its associated credentials. Once the account is activated, it can be used to create a connection to an XMPP server. Rather than configuring the account information every time you define an adapter, Spring Integration allows you to configure the connection separately so that it can be reused across multiple inbound and outbound adapters. The following is an example of such a connection: