Commit Graph

6379 Commits

Author SHA1 Message Date
Gary Russell
00a71eefd2 INT-2494 Move listNames() Method to Session
ExtendedSession, with the listNames() method was introduced
in 2.1.1 (INT-2492) to support mget commands on the gateway.

This was to avoid breaking any user implementations of Session
in a point release. However, we documented this was temporary
and the interfaces would be consolidated in 2.2., and
ExtendedSession would be removed.

This is that consolidation.
2012-04-06 16:35:17 -04:00
Spring Buildmaster
1ba24f7bb6 2012-04-05 04:50:49 -07:00
Spring Buildmaster
5734a5f736 Release version 2.1.1.RELEASE 2012-04-05 04:50:44 -07:00
Oleg Zhurakousky
aec1467b6b INT-2434 lower-cased ChannelInitializer bean name 2012-04-04 14:27:58 -04:00
Gary Russell
d1d4a182b4 Merge pull request #395 from olegz/INT-2496 2012-03-30 14:56:45 -04:00
Oleg Zhurakousky
554468517e INT-2496 GemFire Schema Documentation
Fix Gemfire schema to eliminate reference to a file adapter. Added schemadoc for error-channel while at it
2012-03-30 14:55:34 -04:00
Gary Russell
e847342852 Merge pull request #360 from olegz/INT-2434-v3 2012-03-30 14:43:01 -04:00
Oleg Zhurakousky
458eac43da INT-2434 Fix How input-channels are auto-created
Channel creation logic for channels that are not explicitly defined but identified via an 'input-channel' attribute on the corresponding endpoint is now done by ChannelInitializer - an InitializingBean implementation.

This bean plays a role of pre-instantiator since it is instantiated and initialized as the very first bean of all SI beans using AbstractIntegrationNamespaceHandler

INT-2434-v3 polishing

INT-2434-v3 polishing, changed ChannelCreatingFactoryBean from BeanFactoryPostProcessor to BeanFactoryAware

INT-2434 polishing

fix the test

changed the default name of the CHANNEL_CREATOR_BEAN_NAME to a simple name

added additional test

changed ChannelCreatingFactoryBean from FactoryBean to InitializingBean and renamed it to ChannelInitializer

INT-2434 added test validating how automatic channel creation can be disabled

INT-2434 polished based on the latest PR comments

INT-2434-v3 polishing based on comments and discussions with @markfisher and @garyrussell. Added support for disabling aut-creatioin of channels

INT-2434-v3 polished based on @garyrussell last comments

INT-2434-v3 final polishing
2012-03-30 14:40:22 -04:00
Gary Russell
93c0f6592d Merge pull request #396 from olegz/INT-2490 2012-03-30 14:12:38 -04:00
Oleg Zhurakousky
bdab73499d INT-2490 (S)FTP Documentation
Add (S)FTP documentation about how to disable renaming of the files during transfer
2012-03-30 14:10:37 -04:00
Oleg Zhurakousky
d117b59006 Merge pull request #368 from ghillert/INT-2446
* INT-2446:
  INT-2446 - Twitter: Allow unauthorized operations * also improve test code coverage
2012-03-30 09:50:25 -04:00
Gunnar Hillert
d0b08474fd INT-2446 - Twitter: Allow unauthorized operations
* also improve test code coverage
2012-03-30 09:49:23 -04:00
Oleg Zhurakousky
8c3c4a0e1f Merge pull request #394 from garyrussell/INT-2451
* INT-2451:
  Combined commit from Gary and Mark for INT-2451 Added bean resolver to ContentEnricher INT-2451 Polishing - PR Review Comments
2012-03-29 18:34:46 -04:00
Mark Fisher
a77e5dac5a Combined commit from Gary and Mark for INT-2451
Added bean resolver to ContentEnricher
INT-2451 Polishing - PR Review Comments

Disallow bean resolution in the name expression for content enricher
properties - the name expressions can only resolve to payload
properties. Value expressions can resolve to beans and bean properties.
2012-03-29 18:32:30 -04:00
Gary Russell
1d392e6ab2 Merge pull request #380 from olegz/INT-2479 2012-03-29 15:50:45 -04:00
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