Commit Graph

5902 Commits

Author SHA1 Message Date
Gary Russell
7c3f2ee8c4 INT-2184 Lifecycle Problem With TCP OB Adapter
Autostartup defaulted to false and isRunning() returned
the status of the associated connection factory instead
of its own status. Precluded it being started because
LifeCycle processor thought it was already started.
2011-10-17 11:56:48 -04:00
Mark Fisher
559bab4750 Merge pull request #130 from garyrussell/INT-2167
Code Polishing
2011-10-17 11:54:39 -04:00
Gary Russell
e9778b7526 INT-2167 Code Polishing
Missing braces.

Add private constructors to utility classes.

Remove unnecessary logger overrides.

Remove unnecessary null check.

Remove redundant 'implements BeanNameAware'.

Improve Synchronization in UDP.

Removed Unused Obsolete Constants
2011-10-17 11:50:21 -04:00
Mark Fisher
40c46c0f3c Merge pull request #129 from garyrussell/INT-1872
Allow Indefinite Socket Timeout
2011-10-17 11:46:27 -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
Mark Fisher
8dcf09f834 adding POM for scripting module 2011-10-17 09:59:44 -04:00
Mark Fisher
120382ea65 Merge pull request #123 from olegz/INT-1977
log WARN message for irrelevant extractPayload
2011-10-15 14:27:23 -04:00
Oleg Zhurakousky
bb8409f96f log WARN message for irrelevant extractPayload
Added a WARN log message to HttpRequestExecutingMessageHandler.
The warn message will let the user know that the 'extractPayload' attribute is meaningless if the provided 'httpMethod' will not send a request body.
2011-10-15 14:25:42 -04:00
Mark Fisher
d9d3c14a6c Merge pull request #126 from ghillert/INT-2133
Update Router Documentation
2011-10-15 14:11:26 -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
Mark Fisher
619356c986 Merge pull request #124 from dturanski/INT-2177
Added python support and related refactoring
  Improved exception handling. Made ScriptExecutorFactory abstract
2011-10-15 14:00:43 -04:00
David Turanski
eebb51f38a INT-2177. Improved exception handling. Made ScriptExecutorFactory abstract 2011-10-15 13:59:43 -04:00
David Turanski
a0e7b3cd78 INT-2177 - Added python support and related refactoring 2011-10-15 13:59:43 -04:00
Mark Fisher
1d80d34225 Merge pull request #128 from garyrussell/INT-2183
Fix Multicast Regression Issue
2011-10-15 13:55:57 -04:00
Gary Russell
9f302172c6 INT-2183 Fix Multicast Regression Issue
Multicast tests are @Ignored because multicast has specific
requirements on the build machine. A regression issue was
introduced by INT-2050.
2011-10-15 13:53:53 -04:00
Mark Fisher
0c15ee1516 Merge pull request #127 from garyrussell/INT-1770
Support Client Mode For TCP Endpoints
2011-10-15 13:52:26 -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
Mark Fisher
a8e752e486 Merge pull request #122 from garyrussell/INT-2179
Fix NPE If Connection Id Header Missing
2011-10-13 17:16:34 -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
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
5fc283d4cc prepping for m2 release 2011-10-12 15:08:03 -04:00
Mark Fisher
d666e664cc Merge pull request #121 from markfisher/INT-2157
uncommented schema version check
2011-10-12 13:25:22 -04:00
Mark Fisher
f0045d5d85 uncommented schema version check 2011-10-12 13:21:56 -04:00
Mark Fisher
b0c25bfe4a Merge pull request #111 from markfisher/INT-1878
* INT-1878:
  initial implementation of AMQP channels
2011-10-12 13:06:44 -04:00
Mark Fisher
18f9fe6810 initial implementation of AMQP channels 2011-10-12 13:06:09 -04:00
Mark Fisher
d373f90bd7 Merge pull request #118 from markfisher/INT-2171
using content-* props from the converter
2011-10-12 10:47:31 -04:00
Mark Fisher
32ae298845 using content-* props from the converter
StringUtils.hasText instead of null check
2011-10-12 10:46:48 -04:00
Mark Fisher
efdce112f8 versionless schemas for jdbc module 2011-10-12 09:51:11 -04:00
Mark Fisher
2502c4bb61 Merge pull request #112 from ghillert/INT-1803
Initial draft of the stored proc. adapters

  Code Review Fixes:
    * AbstractReplyProducingMessageHandler - throw MessageHandlingException instead of MessagingException
    * In Parser classes reduce validation logic, where the the Xml Schema already enforces it
    * Better null handling in class ProcedureParameter + more unit tests
    * Refactored the functionality around sqlParameterSourceFactory and usePayloadAsParameterSource
    * Fixed some spelling errors
2011-10-12 09:01:16 -04:00
Gunnar Hillert
c302f96f6d Fixed some spelling errors 2011-10-12 08:59:48 -04:00
Gunnar Hillert
4508212d40 Code Review Fixes
* AbstractReplyProducingMessageHandler - throw MessageHandlingException instead of MessagingException
* In Parser classes reduce validation logic, where the the Xml Schema already enforces it
* Better null handling in class ProcedureParameter + more unit tests
2011-10-12 08:59:48 -04:00
Gunnar Hillert
a25cb2fcda Refactored the functionality around sqlParameterSourceFactory and usePayloadAsParameterSource 2011-10-12 08:59:48 -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
3e1b0596bb Merge pull request #119 from markfisher/INT-1868
fallback if proxy does not support Queue* types
2011-10-10 16:51:18 -04:00
Mark Fisher
0a7426287f fallback if proxy does not support Queue* types 2011-10-10 16:39:11 -04:00
Mark Fisher
60e302dd4f Merge pull request #117 from markfisher/INT-2170
add setMessageConverter to inbound gateway
2011-10-10 15:55:18 -04:00
Mark Fisher
e99fe7ee13 asserting not null 2011-10-10 15:53:23 -04:00
Mark Fisher
4137684892 add setMessageConverter to inbound gateway 2011-10-10 15:47:39 -04:00
Mark Fisher
44e0ef6582 INT-2157 updated error message, still commented 2011-10-10 14:56:45 -04:00
Mark Fisher
485de253b3 versionless schemas for gemfire module 2011-10-10 14:43:58 -04:00
Mark Fisher
e86cbff7dc versionless schemas for xmpp module 2011-10-10 14:10:53 -04:00
Mark Fisher
2a33aaee5f versionless schemas for xml module 2011-10-10 14:02:52 -04:00
Mark Fisher
9e778035aa versionless schemas for test and twitter modules 2011-10-10 13:56:40 -04:00
Mark Fisher
7d4e817f0c versionless schemas for sftp module 2011-10-10 13:49:42 -04:00
Mark Fisher
423c6c860d versionless schemas for security module 2011-10-10 13:43:09 -04:00
Mark Fisher
10a0dd9278 versionless schemas for scripting module 2011-10-10 13:39:37 -04:00
Mark Fisher
598a1afe79 versionless schemas for mongo and redis modules 2011-10-10 13:34:39 -04:00
Mark Fisher
2dfbc8f355 versionless schemas for mail module 2011-10-10 13:30:50 -04:00
Mark Fisher
23c566898b versionless schemas for jmx module 2011-10-10 13:21:04 -04:00