Commit Graph

1131 Commits

Author SHA1 Message Date
Gary Russell
5750ca5ff5 INT-2347 Update Channel Mappings Atomically
Ensure consistent state if channel map is replaced
dynamically.
2012-01-03 11:44:13 -05:00
Mark Fisher
f3155f86fa corrected reversed test method names 2012-01-03 11:30:45 -05:00
Gary Russell
85ea4f6411 INT-2342 Add Test Cases 2012-01-03 11:19:52 -05:00
Mark Fisher
ffe132986b INT-2342 2012-01-03 11:17:47 -05:00
Oleg Zhurakousky
06bc10e960 INT-2331 fixed aggregator documentation
INT-2331 polishing
2011-12-22 09:09:57 -05:00
Mark Fisher
5fae7d2a1f fixed RouterFactoryBean 2011-12-20 17:41:21 -05:00
Oleg Zhurakousky
dd66c98f61 INT-2319
changed logic behind default group id for QueueChannel to be messageStoreId:channelId

added support for resolving value if it is a placeholder
2011-12-20 14:10:40 -05:00
Oleg Zhurakousky
50e1fddaf5 INT-2321
Handlers within a chain are no longer registered as beans in the context.
2011-12-20 13:58:07 -05:00
Mark Fisher
77abc55a1e INT-2322 2011-12-20 13:18:57 -05:00
Oleg Zhurakousky
a44d150009 INT-2323
made changes based on Sonar suggestions

added optional rome dependency to HTTP module
2011-12-20 12:12:20 -05:00
Artem Bilan
d7851fef5a INT-2316: xsd improve for reply- & error-channels
Now <header-enricher> <reply-channel> & <error-channel> are 'referenceOrValueHeaderType'.
Added tests for 'value' & 'expression' attributes on <reply-channel> element.
2011-12-20 11:13:19 -05:00
Oleg Zhurakousky
86c574e493 INT-2311
modified implementation of MessageGroupQueue to use interruptible locks

Basically modeled it after LinkedBlockingQueue

changed to use ReadWriteLock

refactored MessageGroupQueue and added tests

changed MessageGroupQueue to use Condition

added messageGroupSize(groupId) method to MessageGroupStore and all the implementations

polishing based on Gary's comments

removed setStoreLock method in favor of additional constructors

polishing tests, decreased timeouts

made peek() thread safe

added logging
2011-12-19 19:32:23 -05:00
Mark Fisher
84b94ec5da removed @ManagedResource from AMMR 2011-12-19 16:59:32 -05:00
Mark Fisher
84d590aeae removed suppress deprecation 2011-12-19 16:57:05 -05:00
Mark Fisher
af1d0859d1 un-deprecated setChannelResolver() method
the XSD attribute IS deprecated, but this method is needed internally
2011-12-19 16:29:12 -05:00
Artem Bilan
83700f73f4 INT-2315 headerValueRouter chain mapping minOcc=0
now <header-value-router> doesn't require mapping when it is defined inside <chain>.
Tests for <header-value-router> inside <chain>.
2011-12-19 15:41:01 -05:00
Mark Fisher
6e6e972e35 INT-2291 no longer counting down in failing handler or unexpected handler 2011-12-19 12:08:49 -05:00
Oleg Zhurakousky
8869da7a95 INT-2291
polished MixedDispatcherConfigurationScenarioTests.failoverNoLoadBalancingWithExecutorConcurrent() test even more, introduced 'taskSubmissionMonitor' as CountDownLatch to ensure that shutdown command is not called untill all tasks are submitted. Also made sure that ExecutorChannel is using the same tasks executor so shutdown command actually shuts down the same executor.
2011-12-19 09:22:47 -05:00
Oleg Zhurakousky
22cbe9e0dd INT-2291 polished broken test 2011-12-19 08:58:59 -05:00
Mark Fisher
e5ec1d48b2 INT-2291 temporarily ignoring test 2011-12-16 10:14:05 -05:00
Oleg Zhurakousky
390bf504dd INT-2306 fixed populateUserDefinedHeaders() to account for standard heades 2011-12-15 17:28:54 -05:00
Mark Fisher
2928830868 moved ChannelResolver setter call to configureRouter() method 2011-12-15 17:14:55 -05:00
Oleg Zhurakousky
e2f73ba6be INT-2299 polishing 2011-12-15 17:09:52 -05:00
Oleg Zhurakousky
0a8b348c98 INT-2299
put back 'channel-resolver' attribute with deprecation warnings

INT-2299 polishing

INT-2299 added XPATH test
2011-12-15 17:09:52 -05:00
Oleg Zhurakousky
8587ace344 INT-2295 fixed parser logic to eliminate STS warning
INT-2295 removed dead code
Object source = parserContext.extractSource(element); always returned NULL
2011-12-15 16:10:22 -05:00
Oleg Zhurakousky
18bb156ead INT-2291 polished test 2011-12-15 15:40:05 -05:00
Artem Bilan
8a1614cb00 INT-2288: done ResourceInboundChannelAdapterParserTests independents of OS & @After for remove files in tests 2011-12-14 11:37:39 -05:00
Oleg Zhurakousky
1ffdb19039 INT-2291 fixed failing test 2011-12-01 13:11:12 -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
Oleg Zhurakousky
34c51eb635 INT-2235-updated
added default filter as AcceptOnceCollectionFilter, chanhged parser to allow filter= to allow null filter
2011-11-23 15:05:32 -05:00
Mark Fisher
6c1454ae3d INT-2238 removing warnings in JavaDoc 2011-11-22 21:48:34 -05:00
Oleg Zhurakousky
43f60dae08 INT-2238 interim commit
INT-2238 fixing warning comments

INT-2238 fixing warning comments

INT-2238 fixing warning comments
2011-11-22 21:10:32 -05:00
Mark Fisher
dfd039b78e removed deprecated RemotingInboundGatewaySupport 2011-11-22 20:48:56 -05:00
Mark Fisher
281e198679 INT-2256: Removed AbstractRemotingOutboundGateway 2011-11-22 20:40:39 -05:00
Mark Fisher
f9653a79b7 whitespace 2011-11-22 19:40:57 -05:00
Mark Fisher
b8f17fd780 polishing 2011-11-22 19:10:07 -05:00
Artem Bilan
785d10263c INT-1906
fix & refactor DefaultInboundChannelAdapterParser, plus some improvements
2011-11-22 18:38:51 -05:00
Mark Fisher
adf93e5560 HeaderMapper refactoring
INT-2083
added outbound namespace support for XMPP header mapper

INT-2083
added inbound namespace support for XMPP header mapper

INT-2083
polished XMPP inbound/outbound header mappings, added namespace support for AMQP inbound adapter/gateway header mappings

INT-2083
added support and tests for AMQP outbound gateways and adapters

INT-2083
polishing and adding more tests for AMQP support for header mappings

INT-2083
polishing AMQP and XMPP header mappings, generalized headerMapper configuration in IntegrationNamespaceUtils.configureHeaderMapper(..) method

INT-2803
added headermapping support to WS outbound gateways

INT-2803 polishing

INT-2083
refactored SimpleWebServiceOutboundGateway, added full request/reply test

INT-2083
polished MarshallingWebServiceOutboundGateway to add marshalling callback handlers, added test for marshalling call

INT-2083
polishing based on PR comments

INT-2083 interim commit

INT-2083
added RequestReplyHeaderMapper startegy and migrated AMQP Header Mapper to use it

INT-2083
migrated WS and XMPP to use a new RequestReplyHeaderMapper strategy

INT-2083 polishing with PR comments

INT-2083 polishing
removed introspection method, simplified things

INT-2083 polishing based on recent PR comments

INT-2083 interim commit

INT-2083 polishing WS module

INT-2083
refactored to make sure that Soap action header is set within HeaderMapper

INT-2083 polishing
ensured the Soap header is set to default value if not provided

INT-2083 polishing, putting tests back
2011-11-22 17:04:27 -05:00
Gunnar Hillert
0d7cc1052b INT-2258 In enricher: add setRequiresReply to XSD
for the ContentEnricher. This attribute defaults to 'true'.

For reference see: https://jira.springsource.org/browse/INT-2258
2011-11-22 16:21:43 -05:00
Mark Fisher
6ad05f135c added wrapper for ConversionServiceFactoryBean 2011-11-22 15:28:37 -05:00
Gunnar Hillert
0aae7ec4e1 INT-2257 - Payload Enricher - Handle "Null" Messages due to reply-timeout
For reference see: https://jira.springsource.org/browse/INT-2257
2011-11-22 15:07:31 -05:00
Mark Fisher
a4cee32566 more test fixes for INT-2235 2011-11-22 15:02:15 -05:00
Mark Fisher
123ba64d2b polishing INT-2235 2011-11-22 14:51:39 -05:00
Mark Fisher
ab6f3f1f27 fixed polling period and renamed test class 2011-11-22 14:05:35 -05:00
Mark Fisher
b7aabb70e5 renamed filter 2011-11-22 13:36:31 -05:00
Mark Fisher
32d64b19f4 ElementFilter now CollectionFilter
Refactored filter to handle a Collection of Resources

Made 'pattern' a constructor-arg since it's mandatory
2011-11-22 13:16:52 -05:00
Oleg Zhurakousky
193f3d2439 INT-2235
added support for resource-inbound-channel-adapter

  removed pre-fetching logic

  changed ResourcePatternResolvingMessageSource to return multiple Resources

  made filter optional
2011-11-22 12:31:32 -05:00
Gunnar Hillert
94f2dc755f INT-2216 - For Payload Enricher - add: 'request-timeout' and 'reply-timeout' attributes
For reference see: https://jira.springsource.org/browse/INT-2216
2011-11-22 11:38:02 -05:00
Oleg Zhurakousky
bd9d591dbf INT-2253
added support for updating MessageGroup with lastModified timestamp on every touch
2011-11-22 04:16:17 -05:00
Oleg Zhurakousky
0ce12cbcf8 INT-2249
polished MethodInvokingMessageProcessor constructor that takes boolean argument by renaming the argument from 'requiresReply' to 'canProcessMessageList' which is what it really maps to in MessagingMethodInvokerHelper.HandlerMethod

  fixed 'filterSelectsNonVoidReturningMethodsOnly' and 'testOverloadedNonVoidReturningMethodsWithExactMatchForType' tests of MethodInvokingMessageProcessorTests to invoke the right constructor and commented out 'testVoidMethodsExcludedByFlag' test as its no longer valid
2011-11-21 17:11:43 -05:00