Commit Graph

6614 Commits

Author SHA1 Message Date
Oleg Zhurakousky
a37c7a0821 INT-2479 UUID Header Conversion
Refactored MongoDbMessageStore to ensure that the Message metadata is persisted consistently using already provided converters. Major refactoring went into MessageWrapper and MongoDbMessageStore.write method which was greatly simplified based on the fact that MessageWrapper now represents the structure that needs to be persisted

INT-2479
fixed default converters to make sure that UUID is stored in Mongo with type information, so the actuall UUID type could be restored
2012-03-29 15:48:16 -04:00
Gary Russell
2df1240220 Merge pull request #393 from olegz/INT-2502-patch 2012-03-29 11:22:47 -04:00
Oleg Zhurakousky
5952934171 INT-2502-patch Tighten Mask Validation
Polishing and add tests.
2012-03-29 11:19:17 -04:00
Gary Russell
3356712796 Merge pull request #390 from olegz/INT-2502 2012-03-28 18:56:48 -04:00
Oleg Zhurakousky
4375cd9c8c INT-2502, INT-1117 Improve Group Locking
Add initial support for Global lock registry. Fix race condition described in INT-2502.

INT-2502 addressed PR comments by @garyrussell

INT-2502 polishing
2012-03-28 18:44:24 -04:00
Gary Russell
f5908ec876 Merge pull request #386 from digitalsanctum/INT-2477 2012-03-27 15:57:25 -04:00
Shane Witbeck
175bc8554c INT-2477 allow control encoding to be set
INT-2477 added tests

Polishing - Spring Standard tabs Vs. spaces, formatting
2012-03-27 15:55:57 -04:00
Gary Russell
6975da83da Merge pull request #348 from olegz/INT-2396 2012-03-27 15:30:29 -04:00
Oleg Zhurakousky
fc31317aa4 INT-2396 Fix 'expression' Attribute Parsing
Ensure that 'expression*' attributes are parsed
by the AggregatorParser when 'ref' is used to
define the actual aggregator

INT-2396 polishing based on PR comments

INT-2396 changed parser error to warning
message as suggested by Mark.
Raised follow up JIRA for 2.2 to fix it back to error
2012-03-27 15:23:17 -04:00
Gary Russell
6bb460d825 Merge pull request #389 from olegz/INT-2478a 2012-03-27 14:46:30 -04:00
Oleg Zhurakousky
5fd15d11e0 INT-2478a polished the test that broke the build 2012-03-27 14:13:58 -04:00
Gary Russell
a48f2512da Merge pull request #388 from olegz/INT-2489 2012-03-27 14:10:27 -04:00
David Turanski
4740f1cf32 INT-2489:allow for empty temporaryFileSuffix
INT-2498:Added use-temporary-file-name to (s)ftp outbound adapters

INT-2489 polished parser to eliminate any value validation

INT-2489 removed trailing whitespaces from schema files

INT-2489 added boolean flag to detect if 'temporaryFileSuffix'
was explicitly set so the warning message is only be displayed
if renaming is turned off, but a suffix provided.

INT-2489 polishing
2012-03-27 14:10:00 -04:00
Gary Russell
ec6ad79fba Merge pull request #381 from olegz/INT-2475 2012-03-27 13:22:23 -04:00
Oleg Zhurakousky
3ef9177248 INT-2475 Fix WS Gateway Result Payload
Fixed the return value of a non-SOAP message to return the extracted result as is, added tests

INT-2475 polishing based on PR comments

INT-2475 added POX tests for DomSource and Document as per PR suggestion
2012-03-27 13:20:21 -04:00
Gary Russell
2eb3fa3783 Merge pull request #383 from olegz/INT-2478 2012-03-27 11:43:42 -04:00
Oleg Zhurakousky
aeb7df2ad5 INT-2478 SimpleMessageStore and Sequence* Headers
Fix AbstractCorrelatingMessageHandler to ignore
Message Sequence information IF a custom release strategy is provided.

INT-2478 polishing based on PR comments.

Rename Test case.
2012-03-27 11:41:36 -04:00
Oleg Zhurakousky
da1887a182 Merge pull request #387 from garyrussell/INT-2492
* INT-2492:
  INT-2492 Add (S)FTP Support for mget
2012-03-27 11:37:37 -04:00
Gary Russell
ff6a386f12 INT-2492 Add (S)FTP Support for mget
No options supported; send a payload of /* or * to
mget all files in the root directory.

Payload is a list of File objects representing files
copied to the 'local-directory'.

INT-2492 Polishing

Fix path issues; suppress LIST when GETing files from NLST.

INT-2492 Polishing

Add ExtendedSession so CachingConnectionFactory works.

INT-2492 SFTP, Docs

INT-2492 Polishing

INT-2492 Polishing - olegz PR Review

INT-2492 Polishing - EOL Note for ExtendedSession
2012-03-27 11:36:34 -04:00
Oleg Zhurakousky
2f3330c78f Merge pull request #369 from garyrussell/INT-2449
* INT-2449:
  INT-2449 Fix PubSub Subscriber Accounting
2012-03-26 10:10:38 -04:00
Gary Russell
b6b4e25efc INT-2449 Fix PubSub Subscriber Accounting
PubSub channel subscriber accounting was incorrect; the counter
was not decremented when unsubscribing.

The handler count, reflecting the current number of subscriptions,
was maintained in the AbstractSubscribableChannel. The count really
belongs in the dispatcher and calls should be delegated to it, particularly
for a custom ASC, which might have a custom AbstractDispatcher.

However, it is possible (although perhaps rare) that someone
could implement a custom channel with a custom dispatcher that
is *not* a subclass of AbstractDispatcher.

Therefore, we now delegate to the dispatcher if we can, and
revert to a counter in the channel if we can't.

Also, the asymmetric accounting in this case is resolved; the
counter is decremented when a subscriber unsubscribes.

Polishing - factor out common code.
2012-03-24 17:32:32 -04:00
Oleg Zhurakousky
c5e3bcf245 Merge pull request #378 from garyrussell/INT-2471
* INT-2471:
  INT-2471 Improve Run Time For JMS Tests
2012-03-24 16:29:03 -04:00
Gary Russell
bd2fd0e1be INT-2471 Improve Run Time For JMS Tests
Mostly due to auto-started adapters in parser tests.

Reduced gradle run time from several minutes down to < 1 min.

INT-2471 Polishing

Remove sysout.
2012-03-24 16:27:41 -04:00
Oleg Zhurakousky
849030eee2 Merge pull request #379 from ghillert/INT-2468
* INT-2468:
  INT-2468 - Fix DocBook <ulink/> PDF Problems
2012-03-23 10:56:21 -04:00
Gunnar Hillert
3e030cd4bc INT-2468 - Fix DocBook <ulink/> PDF Problems
* upgrade the Docbook Reference plugin dependency from version **0.1.2-SNAPSHOT** to **0.1.3**
* change any occurrences (only the external links):

from

    <link href="http://www.eaipatterns.com/StoreInLibrary.html">Claim Check</link>

to

    <ulink url="http://www.eaipatterns.com/StoreInLibrary.html">Claim Check</ulink>
2012-03-23 10:55:11 -04:00
Oleg Zhurakousky
43c2ac43b4 Merge pull request #375 from garyrussell/INT-2465
* INT-2465:
  INT-2465 Fix Temporary File Suffix
2012-03-23 10:32:59 -04:00
Gary Russell
7cb75f82ef INT-2465 Fix Temporary File Suffix
<file:outbound-channel-adapter/> temporary suffix (.writing) was
overwritten to null by the factory bean if no suffix provided.
2012-03-23 10:31:20 -04:00
Oleg Zhurakousky
6b6a463638 Merge pull request #351 from garyrussell/INT-2431
* INT-2431:
  INT-2431 Improve 'Dispatcher Has No Subscribers'
2012-03-23 10:04:16 -04:00
Gary Russell
f75dc53ab0 INT-2431 Improve 'Dispatcher Has No Subscribers'
Add channel name to MessageDeliveryException

'Dispatcher has no subscribers'.

In a large integration flow, it can be difficult to track
down which subscribable channel has no subscribers.

This commit adds to the message text in the form

    for channel someChannelName

to the exception message. For example:

    "Dispatcher has no subscribers for channel myChannel."

Also

    for amqp-channel someAmqpChannelName
    for jms-channel someJMSChannelName
    for redis-channel someJMSChannelName

INT-2431 Polishing

Make component type and name immutable once set to avoid
channels further down the stack frame claiming ownership.

INT-2431 Polishing

* PR Comments - use a new Exception type
* Add support for Redis
* Add WARN logs for AMQP/JMS pub-sub channels

INT-2431 Polishing

PR Comments: tighten up isPubSub field in AMQP-backed channel.

INT-2431 Polishing

Ensure channel name is not 'null' or empty string.
2012-03-23 09:50:01 -04:00
Oleg Zhurakousky
0b649abfaa Merge pull request #376 from garyrussell/INT-2442a
* INT-2442a:
  INT-2442 SFTP Authentication
2012-03-21 17:05:04 -04:00
Gary Russell
34566aa16b INT-2442 SFTP Authentication
Fix copyright missed in previous commit.
2012-03-21 17:03:38 -04:00
Gary Russell
372d754a6d Merge pull request #382 from olegz/INT-2420 2012-03-20 16:24:09 -04:00
Oleg Zhurakousky
86527f8dd9 INT-2420 fixed com.mongodb Import-Package to reflect unbounded lower range 2012-03-20 12:14:10 -04:00
Gary Russell
a7dffa7a61 Merge pull request #362 from artembilan/INT-2439 2012-03-13 11:26:57 -04:00
Artem Bilan
6c7f7c3eb0 INT-2439 PollerParser adviceChain.add(customBean)
Fix PollerParser#configureAdviceChain for adding 'customBeanDefinition' into 'adviceChain' List.
PollerParserTests: adding <tx:advice> as customElement into poller's <advice-chain>.

Commit is mostly parser tidy-up. The crux of the fix is to add the
missing call to adviceChain.add().
2012-03-13 11:22:54 -04:00
Gary Russell
146067c57e Merge pull request #374 from ghillert/INT-2461 2012-03-12 13:28:34 -04:00
Gunnar Hillert
6ab72a4212 INT-2461 Document Timeout Attributes (HTTP)
Document Timeout Attributes in XML Schema for HTTP Components

For  reference: https://jira.springsource.org/browse/INT-2461

Add Timeouts to IB Gateway Parser Test
2012-03-12 13:27:13 -04:00
Gary Russell
ba0d41e3b7 Merge pull request #373 from ghillert/INT-2443 2012-03-12 12:03:31 -04:00
Gunnar Hillert
a88080fa6e INT-2443/2458 Document "path" attribute
INT-2458 Document "path" Attribute of HTTP Inbound Gateway in XSD Schema

For reference:

* https://jira.springsource.org/browse/INT-2443
* https://jira.springsource.org/browse/INT-2458

INT-2450 - Change from request-timeout to reply-timeout in HttpOutboundGateway is not reflected in the SI reference guide
For reference: https://jira.springsource.org/browse/INT-2450

INT-2443 Code Review: Clarify "HTTP Namespace Support" section

Code review: Fix doc on uri-variable element
* uri-variable element now doesn't support value attribute, rework respective section in the documentation
* However, for improved consistency, I created Jira: INT-2463 - https://jira.springsource.org/browse/INT-2463

INT-2443 Code Review - Several fixes to HTTP Ref Doc and XSD Schema

INT-2443 Code Review - Several Ref Doc wording fixes

Polishing
2012-03-12 11:53:34 -04:00
Gary Russell
2642f36386 Merge pull request #366 from ghillert/INT-2430 2012-03-09 11:10:49 -05:00
Gunnar Hillert
dc1d1868d9 INT-2430 - Improve Polling Consumer Documentation
INT-2425 - Poller: Document the Ability to Change Polling Rate at Runtime

For reference see:

* https://jira.springsource.org/browse/INT-2430
* https://jira.springsource.org/browse/INT-2425

INT-2430 - Code Review - Minor spelling error fix
in src/reference/docbook/endpoint.xml

INT-2430 - Code Review - Doc updates

* Add more documentation around the dynamic poller sample
* Standardize Endpoint chapter so that for emphasis of properties the <emphasis/> docbook element is used rather than quotes.

Polishing
2012-03-09 11:08:21 -05:00
Gary Russell
b45bc645e7 Merge pull request #354 from olegz/INT-2428/29
INT-2428/29 FTP Documentation Improvements
2012-03-08 15:04:36 -05:00
Oleg Zhurakousky
62c67a5a28 INT-2428/29 FTP Documentation Improvements
Added documentation for *expression attributes available on Outbound channel adapter. Added documentation for the post-processing hooks available in AbstractFtpSessionFactory

INT-2428/29 polishing based on PR comments

INT-2428/29 polishing
2012-03-08 14:59:40 -05:00
Gary Russell
d4a6fe3802 Merge pull request #372 from olegz/INT-2445-v2
INT-2445 Fix NotWritablePropertyException
2012-03-08 14:04:28 -05:00
Oleg Zhurakousky
1729af3959 INT-2445 Fix NotWritablePropertyException
Add mapped-request/reply-headers to isEligibleAttribute(..)

Polishing
2012-03-08 14:00:35 -05:00
Gary Russell
48ae843304 Revert "INT-2437 upgraded spring-data-mongo to 1.0.1"
This reverts commit 2ddf1d7a33.
2012-03-08 12:31:58 -05:00
Gary Russell
8fd0376b6c Merge pull request #364 from olegz/INT-2442
INT-2442 Fix DefaultSftpSessionFactory#OptimisticUserInfoImpl
2012-03-08 10:50:22 -05:00
Oleg Zhurakousky
fa91813ddd INT-2442
Fixed DefaultSftpSessionFactory#OptimisticUserInfoImpl to additionally implement UIKeyboardInteractive, tested with both right and wrong password.
2012-03-08 10:20:58 -05:00
Mark Fisher
0e6a36b4c3 Merge pull request #361 from olegz/INT-2437
INT-2437 upgraded spring-data-mongo to 1.0.1
2012-03-05 21:57:51 -05:00
Oleg Zhurakousky
2ddf1d7a33 INT-2437 upgraded spring-data-mongo to 1.0.1 2012-02-15 12:15:11 -05:00