Commit Graph

54 Commits

Author SHA1 Message Date
Gunnar Hillert
dad4eac9ac INT-2710 - Remove hard-coded schema references
For reference see: https://jira.springsource.org/browse/INT-2710
2012-08-28 17:08:43 -04:00
Gary Russell
08cbab08c2 INT-2214, INT-343, INT-2250 MessageHandler Advice
Add general capability to advise just the handleRequestMessage
part of an AbstractReplyProducingMessageHandler.

This is to advise just the immediate operation, and not the
entire downstream flow.

Uses include:

* outbound gateway post processing
* adding retry behavior using spring-retry
* adding circuit breaker functionality

Initial commit for review.

Also need to advise simple message handlers (such as file
etc) to allow them to post-process file operations
with payload.delete(), payload.renameTo(...) etc.

INT-2250 Add Circuit Breaker Advice

INT-343 Add Retry Advice

Stateless and Stateful retry using spring-retry. Stateless
means the RetryTemplate performs the retries internally.
Stateful means the exception is thrown (e.g. to JMS container)
and the retry state is maintained by spring-retry.

INT-2215, INT-343, INT-2250 Refactoring

Factor out common abstract Advice class.

INT-2214 Catch Evaluation Expression Exceptions

If an onSuccess expression evaluation fails, add an
option so the user can decide whether such an exception is
caught, or propagated to the caller.

INT-2214 etc PR Review Polishing

INT-2214 etc Namespace Core, File, FTP

Add <request-handler-advice-chain/> to outbound endpoints.

INT-2214 etc. More Namespace Support

amqp, event, gemfire, groovy, http, ip, jdbc, jms, jmx, jpa, mail, rmi, sftp, twitter, ws, xmpp

INT-2214 etc Polishing

PR Review

INT-2214 etc Polishing

Don't catch Throwable.

Move Advice classes to handler.advice package.
2012-08-06 09:15:58 -04:00
Gunnar Hillert
57bc67b8fb INT-2689 - SI builds without warnings (Except Spring Integration HTTP)
* Ensure that no deprecation warnings occur
* Spring Integration builds with all tests successfully for Spring 3.1.2.RELEASE and 3.0.7.RELEASE (Except Spring Integration HTTP)

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

INT-2694 - Fix Http Test Failures with Spring 3.0

As part of INT-2689, fix Http Test Failures in the Spring Integration Http Module when using Spring 3.0.7.RELEASE
For reference see: https://jira.springsource.org/browse/INT-2694
2012-08-01 13:09:51 -04:00
David Turanski
6dd48eff60 INT-2550,INT-2552:added support for properties regionName and region to GemfireMessageStore
INT-2555:Upgraded to spring-data-gemfire 1.1.1.RELEASE

document update

INT-2550,INT-2552: updated GemfireMessageStore, test, and docs per Oleg's comments

removed setRegion
2012-05-15 13:09:28 -04:00
Artem Bilan
45c429ee2b INT-2275: any outbound-channel-adapter in <chain>
Add re-init logic for nested chains
Add logic about nested element for AbstractChannelAdapterParser
Refactor of DefaultOutboundChannelAdapterParser
Test for non-last nested chain with some outbound-channel-adapter
Improve XSD for chain-type
Manual outbound-channel-adapter ability for chain
Integration tests for all outbound-channel-adapter within <chain>
Remove redundant 'return-value-required' attribute from <stored-proc-outbound-channel-adapter>
Add support 'expectReply' for FileWritingMessageHandler

INT-2275 polishing & refactor FileOutbound*Parser

HttpRequestExecutingMessageHandlerTests polishing

INT-2275: polishing JavaDoc
2012-05-14 12:41:39 -04:00
Gary Russell
95cd202be6 INT-2536 Create 2.2 Schemas
Add 2.2 versions of module schemas.

JMX is already covered by an existing pull request.

INT-2536 Schema Check

Bump version for schema check in
AbstractIntegrationNamespaceHandler.

INT-2536 Remove Schema Versions

Some test config files had 2.1 versioned schemas.
2012-05-04 10:04:01 -04:00
Gary Russell
c3c7a984a4 INT-2472 Capture Forked Stderr in Tests
Previously, ForkUtil only captured stdout from the forked
process.

Now both stdout and stderr are captured and echoed to
the corresponding PrintStream of the calling process.

Also removed the 200ms delay between each stdout line
captured.
2012-05-01 17:09:39 -04:00
Artem Bilan
476bdb00e0 INT-2533: polishing 2012-05-01 16:28:14 -04:00
Artem Bilan
428bd46165 INT-2533:GF/ForkUtil fix for -cp with whitespaces 2012-04-26 12:38:47 -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
f76f63f23a NT-2400 Fix tool:expected-type Classes
* MessageChannel was moved from core to the base package.
* ChannelResolver moved from core to support.
* TcpConnectionInterceptorFactoryChain was incorrect.
2012-01-13 13:21:41 -05:00
Gary Russell
b59ee8e352 INT-2369 package-info IP
INT-2360 package-info Core

INT-2361 package-info AMQP

INT-2362 package-info Event

INT-2363 package-info Feed

INT-2364 package-info File

INT-2365 INT-2380 package-info (S)FTP

INT-2366 package-info GemFire

INT-2367 package-info Groovy

INT-2368 package-info Http

INT-2378 package-info Scripting

INT-2372 package-info JMS
2012-01-05 14:42:24 -05:00
Oleg Zhurakousky
c825689d60 INT-2338
added MessageHistory tests to all implementations of MessageStore
2011-12-22 21:23:49 -05:00
Mark Fisher
77abc55a1e INT-2322 2011-12-20 13:18:57 -05:00
Mark Fisher
9a7d0c99f3 removed unused imports 2011-12-19 23:17:24 -05:00
Oleg Zhurakousky
634e190f5c INT-2267
removed test compile warnings

INT-2267
removed test compile warnings(2)
2011-11-29 13:50:08 -05:00
Oleg Zhurakousky
3f6896677f INT-2265
fixed GemfireGroupStoreTests.testMultipleInstancesOfGroupStore() test to avoid intermittent failures

  refactored MessageGroupMetadata to eliminate the usage of TreeMap in favor of LinkedList for storing UUIDs of Messages
2011-11-28 17:30:44 -05:00
Mark Fisher
6c1454ae3d INT-2238 removing warnings in JavaDoc 2011-11-22 21:48:34 -05:00
Oleg Zhurakousky
451408e0f7 INT-2255 fixed Gemfire CQ parser errors 2011-11-21 13:52:36 -05:00
Dan Oxlade
8d9192b9fb FIxing a mistake in the Gemfire AdapterParsers where the element attribute validation is not correctly applied and will never result in the intended behavior. 2011-11-21 13:52:36 -05:00
Oleg Zhurakousky
72593f9ee9 INT-2220 polished Gemfire tests 2011-11-07 04:51:09 -05:00
Oleg Zhurakousky
2d504904db INT-2212 fixed NPE in AbstractKeyValueMessageStore
INT-2212 polished AbstractKeyValueMessageStore
eliminated possibility for NPE during the Message removal, added test

INT-2212 polishing

INT-2212 polishing
added remove(..) method to MessageGroupMetadata
2011-11-01 12:57:48 -04:00
Oleg Zhurakousky
ddeab16394 INT-2182 interim
INT-2182 interim

INT-2182 work in progress

INT-2182 Refctored MessageGroupQueue and related classes
- created MGS.pollMessageFromGroup(groupId)
- removed MARKED messages concept
- renamed UNMARKED to just Messages
- removed keepReleasedMessages attribute
- refactored JdbcMessageStore to NOT store Messages that belong to a MessageGroup in the MessageGroup table, only relationship
- provided implementation of pollMessageFromGroup method in JdbcMessageStore
- polished tests

INT-2182 refactored MongoDB support to reflect changes to MGQ

INT-2182 added Gemfire support for polling

INT-2182 added Redis support

INT-2182 polishing
removed syncronized blocks from SMG, added availablePermits() method to UpperBound, polished JdbcMessageStore

INT-2182 polishing

INT-2182 polishing

INT-2182 polishing

INT-2182 polishing

INT-2182 polishing

INT-2182 polishing based on PR comments
2011-10-25 12:50:17 -04:00
Mark Fisher
485de253b3 versionless schemas for gemfire module 2011-10-10 14:43:58 -04:00
Oleg Zhurakousky
a386a1c3c5 INT-2135-mongo-patch fixed NPE in MongoDbMessageStore
also, removed XSD versions from Gemfire test configs
2011-10-10 12:38:47 -04:00
Oleg Zhurakousky
41ac8ac38c INT-2135-gemfire-patch patched up build.gradle to fix Gemfire issue 2011-10-10 12:02:35 -04:00
Oleg Zhurakousky
c5a336bbe1 INT-2135-gemfire-patch fixed failing Gemfire tests due to Gemfire bug
I also commented one test with @Ignore (temporarily) since it uses namespace-based configuration where ignorJta attribute is not exposed, changing configuration to a <bean> style woudl defeat the purpose of the test
2011-10-10 09:22:06 -04:00
Mark Fisher
57b1b1c600 polishing 2011-10-07 15:59:23 -04:00
Oleg Zhurakousky
97d5009722 INT-2135 fixed broken build
upgraded to use spring-gemfire M3 which also brings Gemfire 6.6 Release
2011-10-07 15:43:09 -04:00
Oleg Zhurakousky
946b9e2b82 INT-2152
parent issue for INT-2134, INT-2135, INT-2142, INT-2155, INT-2158
2011-10-07 12:48:20 -04:00
David Turanski
3d683b6134 Removed Jsr223 from classnames 2011-09-02 12:16:44 -04:00
David Turanski
9366c56328 INT-2075 made changes for the new SGF class names 2011-08-27 12:38:14 -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
Mark Fisher
db1013426a SpelMessageProducerSupport abstract & pkg-private 2011-08-25 22:39:25 -04:00
David Turanski
42cc18e461 INT-2082 Added supported event types 2011-08-25 22:39: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
David Turanski
2cade4220e INT-2082 added support for evaluating payload expression in ContinuousQueryMessageProducer 2011-08-25 13:06:00 -04:00
David Turanski
bec0472209 fixed gemfire test compile problem 2011-08-24 20:21:48 -04:00
David Turanski
69b5c1b7e2 set use-factory-locator=false and changed cache-id 2011-08-23 07:57:04 -04:00
David Turanski
7a47e63aa9 INT-2074 changed name to queryName 2011-08-22 18:32:58 -04:00
David Turanski
ee8c4e2d69 INT-2074 - refactored ContinuousQueryMessageProducer and cleaned up tests 2011-08-22 17:21:47 -04:00
David Turanski
449dfc9fac added CacheServerProcess 2011-08-22 17:21:47 -04:00
Mark Fisher
bf1b4f8883 reverting use of AnnotationConfigContextLoader 2011-08-19 15:58:57 -04:00
David Turanski
6d40df291f INT-2062 - Fixed GemfireMessageGroupStoreTest (changed Set to List to avoid equals() collisions affecting size()) 2011-08-18 17:00:14 -04:00
Josh Long
6a2a368c3e INT-2062 2011-08-18 06:36:49 -07:00
Josh Long
197021cd63 ensured everything worked after merge.. 2011-08-17 02:29:19 -07:00
Josh Long
dc5d821aee clean up... 2011-08-17 02:17:51 -07:00
Josh Long
3e8a774411 clean up... 2011-08-17 02:17:24 -07:00
David Turanski
b07708fd9f INT-2049 added namespace support, also add SpEL support to CacheWritingMessageHandler and general cleanup 2011-08-16 16:42:19 -04:00
David Turanski
a6cda6d93d INT-2049 added namespace support, also add SpEL support to CacheWritingMessageHandler and general cleanup 2011-08-16 16:42:19 -04:00