Commit Graph

238 Commits

Author SHA1 Message Date
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
ad0ccf5dff Update version to 2.1.0.BUILD-SNAPSHOT 2011-10-12 15:47:10 -04:00
Mark Fisher
b0793cb3bd Release version 2.1.0.M2 2011-10-12 15:34:49 -04:00
Mark Fisher
e09a5da3ec versionless schemas for http and ip modules 2011-10-10 12:49:30 -04:00
Gary Russell
7ff2861168 INT-2168 Reinstate Port in Tcp Connection Id
Port was always zero; broken by INT-1822.
2011-10-05 17:41:15 -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
5624feacc0 INT-2154 Minor Refactoring
Factor out socket creation to a protected method, to facilitate
easier subclassing, enabling something other than the default
Socket factories to be used.
2011-09-27 11:56:17 -04:00
Gunnar Hillert
b01f987882 INT-2123 - Cleaned up dependencies
2 modules still had Spring 3.1 transitive dependencies:

* Spring Integration Redis
* Spring Integration Gemfire

1 module was lacking a Jackson dependency:

* Spring Integration AMQP
2011-09-13 11:55:37 -04:00
Mark Fisher
797b4f39f0 Update version to 2.1.0.BUILD-SNAPSHOT 2011-09-02 18:13:36 -04:00
Mark Fisher
1c49e222db Release version 2.1.0.M1 2011-09-02 18:04:49 -04:00
Mark Fisher
8dd16104d5 updated template.mf files 2011-09-02 17:23:49 -04:00
Mark Fisher
9a1f72b95a INT-2099 upgraded to Spring 3.0.6.RELEASE 2011-08-31 16:43:26 -04:00
Mark Fisher
9f59001230 removed deprecated trigger sub-elements non-core 2011-08-31 12:54:22 -04:00
Mark Fisher
7c5603fe83 INT-2092 update schema imports to use 2.1 version 2011-08-31 05:26:02 -04:00
Mark Fisher
189d047514 INT-2078 valid repositories IDs for Maven 3.0 2011-08-24 20:06:46 -04:00
Mark Fisher
a946f9960a updated POMs with Spring 3.0.5.RELEASE 2011-08-19 16:17:13 -04:00
Oleg Zhurakousky
1b0a2e85c3 INT-2029 added initial implementation of RedisMessageStore. Upgraded Jackson to version 1.8.3 which is used by spring-data-redis. Regenerated POM files 2011-08-09 09:34:59 -04:00
Oleg Zhurakousky
935cd01d07 INT-1512 changed the type of ID attribute to be xsd:string in all related 2.1 schema files 2011-08-08 23:34:12 -04:00
Oleg Zhurakousky
74817b98fc INT-2036 added Spring 3.0.5 exclusions for spring-integration-ws and spring-integration-xml in build.gradle. Regenerated POMs 2011-08-08 16:15:52 -04:00
Mark Fisher
3e71b5a83b INT-2004 added 2.1 versions of all XML schemas and adjusted spring.schemas files accordingly 2011-08-05 11:07:20 -04:00
Mark Fisher
b727868306 INT-2018 added explicit spring-tx dependency in spring-amqp-integration and refined the exclusions 2011-08-05 08:38:54 -04:00
Mark Fisher
6e225847aa INT-2018 added excludes for spring modules in the spring amqp dependency of spring-integration-amqp 2011-08-04 17:51:25 -04:00
Mark Fisher
c35a79a0e9 INT-2032 migrated 'spring-integration-gemfire' to main branch from sandbox in preparation for 2.1 development 2011-08-04 16:16:13 -04:00
Dave Syer
304e9b2abb regenerate poms for AMQP changes 2011-08-03 14:38:21 +01:00
Mark Fisher
8cec1e5aa5 INT-2003 added the 'spring-integration-amqp' module 2011-07-22 18:28:37 -04:00
Mark Fisher
f976e697f2 INT-2002 removed the spring-integration-httpinvoker module 2011-07-22 18:08:29 -04:00
Mark Fisher
8b597c1cda INT-1999 upgraded to Spring Framework 3.1 M2 2011-07-22 18:00:40 -04:00
Mark Fisher
74747fdd8f INT-1999 updated template.mf files for new 2.1.0 version range 2011-07-22 17:01:33 -04:00
Mark Fisher
46238e555c INT-1999 updated version to 2.1.0.BUILD-SNAPSHOT and regenerated POMs 2011-07-22 16:59:09 -04:00
Mark Fisher
9a43781973 updated POMs for 2.0.6.BUILD-SNAPSHOT 2011-07-18 18:09:12 -04:00
Mark Fisher
2e605f24c9 updated template.mf files for 2.0.6.BUILD-SNAPSHOT 2011-07-18 18:07:12 -04:00
Mark Fisher
b1ee08b8d1 Release version 2.0.5.RELEASE 2011-07-18 17:36:31 -04:00
Oleg Zhurakousky
98bbb98de3 INT-1975 regenerated POM files 2011-07-14 11:49:16 -04:00
Gary Russell
9b626c946b INT-1937 Fix NIO Connection State on Exception 2011-06-11 10:35:12 -04:00
Gary Russell
fc7f3e9f83 INT-1895 Use FactoryBean to Allow Late-Binding of using-nio Attribute 2011-06-09 19:16:36 -04:00
Oleg Zhurakousky
5bf590bbfb changed POMs to use version 2.0.5.BUILD-SNAPSHOT 2011-05-23 08:19:47 -04:00
Mark Fisher
6d0aaa7c62 Update version to 2.0.5.BUILD-SNAPSHOT 2011-05-18 14:40:41 -04:00
Mark Fisher
939172e675 Release version 2.0.4.RELEASE 2011-05-18 14:26:36 -04:00
Oleg Zhurakousky
765503daa4 polishing, fixed warning messages 2011-05-03 19:20:57 -04:00
Gary Russell
06b9752af9 INT-1854 Allow restart after stop 2011-04-27 10:30:48 -04:00
Gary Russell
31e90fcca3 INT-1854 Remove unused imports; fix copyright dates 2011-04-26 21:26:47 -04:00
Gary Russell
8b0b8a76ae INT-1854 Shutdown task executor (if internal), close all sockets on close() 2011-04-26 21:11:22 -04:00
Gary Russell
6acb07ce00 INT-1877 Support Byte, Short, and Int Length Headers 2011-04-25 18:33:27 -04:00
Gary Russell
16b0248791 INT-1848 Add order Attribute to tcp, udp, jdbc Outbound Endpoints 2011-03-25 15:49:00 -04:00
Chris Beams
6e58a9ff99 Add <repositories> to generated poms
Synchronize with changes in buildSrc that add repositories
declared in gradle script(s) to generated maven poms during
`generatePom` task.

Issue: GRADLE-48
2011-03-14 01:04:05 +08:00
Gary Russell
9a5c26581b INT-1822 Add Attribute to Suppress Reverse DNS Lokup 2011-03-04 18:53:51 -05:00
Gary Russell
5e02a7e63b INT-1823 Protect NIO Selector from Unexpected Exceptions 2011-03-02 18:37:02 -05:00
Gary Russell
69b4a0db78 INT-1797 Polishing 2011-02-20 20:29:44 -05:00
Gary Russell
73e31e52ea INT-1797 Polish trace log entry 2011-02-20 15:51:19 -05:00
Gary Russell
2ddbf35cfb INT-1797 Polishing; fix failing test 2011-02-20 15:35:27 -05:00