Commit Graph

277 Commits

Author SHA1 Message Date
Mark Fisher
73c9876aca remove channel-resolver attribute
remove ChannelResolver awareness from router parsers and FactoryBean

refactor 'channelIdentifierMap' -> 'channelMappings' and other clarity enhancements

trim array tokens

added AbstractMappingMessageRouter
2011-10-21 16:12:00 -04:00
Mark Fisher
0b8efc45bc polishing 2011-10-21 16:00:11 -04:00
Gunnar Hillert
9435217578 INT-2173 - Add doc for calling no-arg Gateway methods 2011-10-21 14:27:57 -04:00
Gunnar Hillert
58c20b67e9 Update Docs of the SI XML Module for SI 2.1
This commit is part of Jira issue: INT-2186
Please see for reference: https://jira.springsource.org/browse/INT-2186

Several sub-issues are affected:

* INT-2137 - Add documentation for XPath Filter
* INT-2138 - Add documentation for XML Validating Filter
* INT-1917 - Document combination of SpEL and XPath expressions
* INT-2187 - Add documentation for xpath-header-enricher
2011-10-20 10:31:23 -04:00
Mark Fisher
7581c1cea4 polishing 2011-10-19 17:07:21 -04:00
Oleg Zhurakousky
7f92089584 INT-2146
Expose session limitation on remote file adapters

  Deprecate 'cache-sessions' attribute

  Add 'sessionCacheSize' and 'sessionWaitTimeout' attributes on CachingSessionFactory

  Update documentation
2011-10-19 16:00:06 -04:00
Mark Fisher
b28ec17885 polishing 2011-10-19 15:46:15 -04:00
Oleg Zhurakousky
5059ecc318 INT-1844 added support for file name generation
Added support for generating local file name for FTP and SFTP inbound adapters
2011-10-19 15:30:51 -04:00
Gary Russell
57121604d3 INT-1872 Allow Indefinite Socket Timeout
Previously, for single-use server sockets, and for client sockets
that have a collaborating inbound adapter, the socket timeout
was set to 10 seconds, with no way to set to infinity. The work
around was to set it to Integer.MAX_VALUE.

The intent was to avoid DoS attacks and mis-behaved clients, but
some users have expressed a desire to be able to set an infinite
timeout in both scenarios.

A future release may remove the 10 second default from the client
socket that has a collaborating inbound adapter, and default to
infinity. For this reason, that case now emits a warning.

The default 10 second timeout on single-use server sockets will
likely remain.

INT-1872 Remove WARN Log

We decided to eliminate the log message regarding a possible
future change to the default timeout for client sockets used
for request/reply.
2011-10-17 11:45:08 -04:00
Gunnar Hillert
cd2b33438e Update Router Documentation
* Fixed formatting issues
* Updated documentation with latest Router refactoring changes
* Rephrased several paragraphs regarding XPath Router for increased clarity
2011-10-15 14:10:22 -04:00
Gary Russell
a7bda6bbb2 INT-1770 Support Client Mode For TCP Endpoints
Add client mode for inbound endpoints, and for the
outbound adapter.

INT-1770 Allow Inbound Adapter to Open Connection

Normally, inbound adapters use server sockets and wait for incoming
connection. There are use cases where the adapter should establish
the connection and wait for inbound messages.

INT-1770 Open Connection on Start

Allow configuration of outbound adapter to permit
connection establishment when the adapter is started
rather than when the first message arrives.

INT-1770 Allow Inbound Gateway to Open Connection

Normally, inbound gateways listen for connections. There are
use cases where an inbound gateway might open the connection
and then wait for incoming requests.

INT-1770 Parsers

Update parsers and tests to support attributes for setting
endpoints in client-mode.

INT-1770 Docs

Update reference with client-mode information.

INT-1770 Add Control Bus for Client Mode

Enable control bus commands to check status and to attempt
connection establishment.
2011-10-14 18:10:06 -04:00
Gary Russell
1cb7990f6c INT-2179 Fix NPE If Connection Id Header Missing
ip_connection_id header is used to determine to which socket
a message should be written. If this header is missing, we
can't send the message and we log an error. Previously, an
NPE was thrown.

This applies to inbound gateway replies and asynchronous
outbound server messages.
2011-10-13 17:08:10 -04:00
Mark Fisher
5fc283d4cc prepping for m2 release 2011-10-12 15:08:03 -04:00
Mark Fisher
18f9fe6810 initial implementation of AMQP channels 2011-10-12 13:06:09 -04:00
Gunnar Hillert
b018ea84c8 Initial draft of the stored proc. adapters
The following 3 components are provided:

* stored-proc-outbound-channel-adapter
* stored-proc-outbound-gateway
* stored-proc-inbound-channel-adapter
2011-10-12 08:59:48 -04:00
Mark Fisher
c9a34f5d7b add support for 'converter' on <xpath-router>
also improved the xsd doc and the reference manual
2011-10-04 15:35:43 -04:00
Gary Russell
7981855c78 INT-2050 Code Polishing
INT-1876 Add AutoStart and Phase to TCP Endpoints

There was no way for an application to control the startup
of TCP endpoints. This is particularly an issue for controlling
availability of inbound endpoints.

The TCP Endpoints are mostly static, with dynamic behavior
being contained in connection factories. The factories
implement SmartLifecycle but there is no way to
configure auto-startup.

Adds auto-startup and phase attributes to all TCP endpoints

Starting/stopping an endpoint will start/stop the underlying
connection factory. When a connection factory is stopped,
all open connections are closed, and no new connections will
be acceptedi (inbound) or allowex (outbound).

While the factories implement SmartLifecycle, they return
false to auto-startup. We rely on the fact that
the endpoints are dependent on factories and
the factories will be started because of this dependency.

Finally, with collaborating endpoints (where an inbound and
outbound adapter are bound to the same factory), starting/
stopping one endpoint will affect the collaborating
endpoint too.

INT-1876 Polish Schema Docs

Doc was incorrectly talking about connection factories instead
of endpoints.

INT-2162 Add apply-sequence to Connection Factory

When messages are generated as a result of incoming tcp messages, and this
attribute is true (default=false), the sequenceNumber and
correlationId headers will be set. This will facilitate
downstream resequencing if necessary.

The 'ip_connection_id' header is still required for internal correlation
of reply messages to the right socket (regardless of whether downstream
components have altered the correlationId), and will contain the same value
as the correlationId (if set). This will not use up more memory for the
header content because they will both point to the same heap object.

The 'ip_connection_seq' header is deprecated and may be removed
in a future release.

TcpConnection.getConnectionSeq() has been renamed to
incrementAndGetConnectionSequence() because it is not a simple
getter method, it increments the connection's sequence number.

INT-2162 Update Docs for apply-sequence

Add documentation for apply-sequence attribute on
TCP Connection Factories.
2011-10-03 15:20:57 -04:00
Gary Russell
d3a916f25c INT-2144 Document Socket Timeout Defaults
Add note about timeouts when using collaborating
channel adapters.
2011-09-26 08:48:03 -04:00
Gary Russell
b7a4a48317 INT-2111 Reference Doc Polishing
Fix header names for (s)ftp gateways.
2011-09-26 08:45:26 -04:00
Mark Fisher
c4daa33c09 fixed typo 2011-09-23 18:00:59 -04:00
David Turanski
19548b735d INT-2088 added documentation for scripting and updated groovy section 2011-09-23 17:37:32 -04:00
Mark Fisher
e4eee3bcf9 polishing 2011-09-20 12:06:14 -04:00
Gunnar Hillert
2c023f6fd1 Refactor/Standardize Router XSD Schema Attributes
- Add more documentation for schema elements in spring-integration-xml-2.1.xsd
  - Simplify Handling of Channel Resolution (Failures) for Routers
  - Fix PayloadTypeRouterTests
  - Update reference docs, XSD Schemas
  - Rename 'channel-resolution-required' to 'resolution-required'
  - Updated all tests accordingly
2011-09-20 11:08:43 -04:00
Oleg Zhurakousky
49deccdbcf INT-2013 added documentation
Added documentation explaining how the 'timeout' property of teh MessageGroupStoreReaper can be impacted by teh task scheduler rate
2011-09-19 15:58:12 -04:00
Mark Fisher
776159bfec polishing 2011-09-19 14:35:31 -04:00
Oleg Zhurakousky
779dc39673 improved documentation for 'send-partial-result-on-expiry' 2011-09-19 14:12:08 -04:00
Mark Fisher
00ed21cbae using parameterized types 2011-09-15 14:22:43 -04:00
Oleg Zhurakousky
e5ce83329f migrated Twitter support to use Spring Social 2011-09-15 13:35:52 -04:00
Gary Russell
b9b7943088 Fix typo in Samples Appendix
Intended to change build => built but ended up rewording much
of the paragraph to fix grammar.
2011-09-13 12:30:45 -04:00
Mark Fisher
c2ec4a5831 updated readme and changelog for 2.1 M1 2011-09-02 17:02:18 -04:00
Mark Fisher
874c3f518f polishing 2011-09-02 08:08:14 -04:00
Gary Russell
9fc834f92f INT-1945 (S)FTP Gateway - Initial Implementation
Non-Invasive - only modified files are additions to NS Handlers,
Schemas, and Docs. Some refactoring still required.
2011-09-02 08:08:12 -04:00
Mark Fisher
1ee26b0600 INT-2097 removed httpinvoker from reference doc 2011-08-31 16:13:48 -04:00
Mark Fisher
b8fd54a68e removed duplicate http-invoker entry 2011-08-31 15:56:22 -04:00
Mark Fisher
be817cf937 polishing 2011-08-31 15:26:47 -04:00
Oleg Zhurakousky
7813e61100 INT-2080 added initial Mongo support documentation 2011-08-31 15:05:49 -04:00
Oleg Zhurakousky
259ab51fe1 INT-2080 work in progress for Mongo documentation 2011-08-31 15:05:49 -04:00
Mark Fisher
90f23842a3 polishing 2011-08-31 11:49:34 -04:00
Oleg Zhurakousky
632895d153 INT-2079 added initial documentation for Redis module 2011-08-31 11:14:27 -04:00
David Turanski
9366c56328 INT-2075 made changes for the new SGF class names 2011-08-27 12:38:14 -04:00
Mark Fisher
86d43fd898 polishing 2011-08-26 17:55:03 -04:00
Oleg Zhurakousky
28c3e9f228 INT-2009 added documentation clarifying the use of MessageGroup when using POJO-based ReleaseStrategy 2011-08-26 16:33:36 -04:00
David Turanski
a888d71f62 INT-2075 - Added namespace support for cq-inbound-channel-adapter. Also some general cleanup and additional tests 2011-08-26 10:25:25 -04:00
David Turanski
84c2417fd0 INT-2081 - added gemfire documentation to the reference. Also fixed a typo in the schema 2011-08-25 22:39:24 -04:00
Gunnar Hillert
d12ee32855 Initial commit of the first draft of the AMQP adapter documentation 2011-08-23 15:56:34 -04:00
Gunnar Hillert
1d2042de3f - INT-2043 Added @Filter annotation to appendix
- Added annotation documentation to 5.2.2 Configuring Filter
- Some documentation cleanup
2011-08-16 16:53:46 -04:00
Mark Fisher
a598238c5e Updated to 2.1.0 Milestone 1 2011-08-11 15:35:53 -03:00
Gunnar Hillert
ffc4b07abb #INT-1967 Standardize namespace pre-fixes in documentation 2011-07-31 23:56:42 -04:00
Gunnar Hillert
f35c9b8c3a #INT-1987 - Add a paragraph/section to the beginning of the Reference Manual explaining the usage of namespace prefixes 2011-07-31 23:51:04 -04:00
Gunnar Hillert
3887f55055 #INT-1967 Standardize namespace pre-fixes in documentation 2011-07-31 15:28:21 -04:00