Commit Graph

52 Commits

Author SHA1 Message Date
Gary Russell
89cb4e137d DSL: Mail Inbound Adapters
Add POP3 Server for Tests

Polishing; PR Comments; IMAP4 Server
2014-08-23 10:42:15 +03:00
Gary Russell
ba4f52d59c DSL: Mail namespace & MailSendingMessageHandler
DSL:Add SMTP Mail Server

Polishing - PR Comments

DSL: Mail: add `PropertiesConfigurer` lambda

* Move `IntegrationFlowTests` to the `flows` package to avoid cross scanning for components
* Make `MailTests` as integration test and move `Mail.outboundAdapter` to the `IntegrationFlow` `@Bean` definition
2014-08-22 16:37:29 +03:00
Artem Bilan
5f4089db0a DSL-(S)FTP-Namespace-Builder-Factory
**DO NOT MERGE YET**.

There is need to provide tests on the matter.

(S)FTP Tests

* Add test cases for (s)ftp components based on embedded (S)FtpServers
* Upgrade some dependencies
* Fix bug in the `IntegrationFlowBeanPostProcessor` for the registration internal (a result of `MessageSourceSpec`) as a bean in the AC
2014-08-20 17:32:40 +03:00
Tim Ysewyn
1b1f95c004 Java DSL: Fix EnricherSpec to prevent assertions
Fixes: https://github.com/spring-projects/spring-integration-extensions/issues/101
2014-08-20 17:28:48 +03:00
Artem Bilan
8cc38bc1b7 DSL: Add File. Namespace Builder Factory
* Introduce `ComponentsRegistration` *marker* to extract internal components from the `IntegrationComponentSpec` to be registered as bean in the application context
* Add `ConsumerEndpointSpec#order(int order)` for the `order` of target `AbstractMessageHandler`
* Fix `AggregatorSpec` to use `DefaultAggregatingMessageGroupProcessor` by default
* Fix `IntegrationFlowBeanPostProcessor#generateBeanName` to check if `instance instanceof NamedComponent` and its `beanName` has been configured
using `IntegrationComponentSpec#id`
2014-08-13 13:50:09 +03:00
Artem Bilan
7b59bc5b87 DSL: Add targetCompatibility = 1.6 2014-07-23 19:02:23 +03:00
Artem Bilan
f6c9f1305b DSL: Fixes and polishing after upgrade
* Upgrade to SI 4.0.3 and Boot 1.1.4
* Add `HeaderEnricherSpec#headerChannelsToString()`
* Fix `DslRecipientListRouter` according core changes
* Fix `Amqp` and `Jms` modules for the bug around "All Message creators need a BeanFactory"
using fake `new DefaultListableBeanFactory()` for `(Amqp)JmsChannelFactoryBean`
2014-07-17 14:53:17 +03:00
Artem Bilan
906880acf0 DSL: Use DelayerEndpointSpec for .delay()
GH: https://github.com/spring-projects/spring-integration-extensions/issues/84
2014-07-01 14:49:53 +03:00
Spring Buildmaster
2b049dd478 [artifactory-release] Next development version Java DSL 2014-06-19 06:03:36 -07:00
Spring Buildmaster
5bb2e40ecc [artifactory-release] Release version Java DSL 1.0.0.M2 2014-06-19 06:03:32 -07:00
Artem Bilan
3085f71277 DSL: Add Jms.messageDriverAdapter 2014-06-13 21:20:16 +03:00
Artem Bilan
1307646c3c DSL: Polishing for priorityChannel test 2014-06-12 18:24:12 +03:00
Artem Bilan
a35db31e61 DSL: Add Jms.inboundGateway() infrastructure 2014-06-12 18:16:43 +03:00
Artem Bilan
b42e6e1503 DSL: JMS in/out adapters, outbound gateway
* Others fixes, improvements and refactoring
2014-06-11 19:16:57 +03:00
Artem Bilan
7394516a2d DSL: Add Jms factory
* Add `Spec` implementations for `JmsChannel`s
* Fix the bug around `SourcePollingChannelAdapterFactoryBean` named bean registration
* Remove unused classes
* Add test for `Jms.pollableChannel`
2014-06-10 18:42:23 +03:00
Artem Bilan
36063ec8f2 DSL: Add Amqp.*channel() support
* Upgrade to the latest Boot snapshot
* Polishing and workarounds for `Proxy` beans. Caused by `@EnableJmx`
2014-06-09 13:54:40 +03:00
Artem Bilan
dd085c8945 DSL: Fix @Autowired issue for IntegrationFlows
* Move DSL parser logic from `BFPP` to `BPP` as soon as the DSL doesn't populate any `BeanDefinition` - just real objects,
which can be registered with `this.beanFactory.registerSingleton(beanName, component);`
* Add more DSL for `Amqp` 'Namespace' factory and provide tests on the matter
* Comment out `spring-integration-jdbc` and `spring-integration-jpa` dependecies because the provide `spring-jdbc` dependency,
but it causes an issue in Boot: https://github.com/spring-projects/spring-boot/issues/1041
2014-06-06 00:38:21 +03:00
Artem Bilan
2dd27c5df9 DSL: Clean up some IntegrationFlowBuilder API 2014-06-02 16:57:33 +03:00
Artem Bilan
f7529453b4 DSL: Tests for @Autowired handlers 2014-05-29 16:04:51 +03:00
Artem Bilan
7fe2845cd0 DSL: Add @Autowired @Lazy test 2014-05-28 08:46:55 +03:00
Artem Bilan
3c5db06ed7 DSL: Add LambdaMessageProcessor 2014-05-26 18:33:12 +03:00
Artem Bilan
2a25a1960f DSL: add gateway() EIP-method
* Upgrade dependencies
* Polishing `Transformers`
2014-05-22 20:43:38 +03:00
Artem Bilan
77026e8261 DSL: Add IntegrationFlows.from(MGSupport)
* Introduce `Amqp` components factory
* Add `AmqpInboundGatewaySpec` builder
2014-05-19 20:52:51 +03:00
Artem Bilan
38269df437 DSL: Add fluent Transformers factory 2014-05-15 23:06:56 +03:00
Artem Bilan
61275dbc7e DSL: Add MessageProducer support 2014-05-11 22:57:38 +03:00
Spring Buildmaster
54f8cd306d [artifactory-release] Next development version 2014-05-08 11:07:21 -07:00
Spring Buildmaster
a779d7f8ff [artifactory-release] Release version 1.0.0.M1 2014-05-08 11:07:12 -07:00
Artem Bilan
4aefd9129f DSL: Clean up README.md 2014-05-08 14:15:15 +03:00
Artem Bilan
6664d413d4 DSL: Upgrade to SI 4.0. RELEASE 2014-04-30 17:32:21 +03:00
Artem Bilan
2d9f01464b Replace LiteralExpression to ValueExpression 2014-04-17 14:22:07 +03:00
Artem Bilan
305504196b Upgrade to SI 4.0
* Add new correlation endpoint options
* Add `messageStore` to the `PriorityChannelSpec`
* Add generic to `EnricherSpec#property`
* Remove `type` from `EnricherSpec.headerExpression`
* Add `initialDelay` for `PeriodicTriggerSpec`
* Fix `IntegrationFlowBuilder` bugs, when there is no relevant the end of the flow
* Add embedded MongoDb support for tests
* Add `priority` test with `MongoDbChannelMessageStore`
2014-04-16 15:22:55 +03:00
Artem Bilan
69bc8d602a Add @GlobalChannelInterceptor test 2014-03-30 16:31:34 +03:00
Artem Bilan
a7fd45c7eb Add claimCheckIn(), claimCheckOut EIP-methods 2014-03-24 14:57:22 +02:00
Artem Bilan
c583351bff Add some JavaDocs 2014-03-14 22:56:33 +02:00
Artem Bilan
1b9076ca26 Polishing to MessageChannelSpec 2014-03-14 21:50:04 +02:00
Artem Bilan
4cf18e71c8 Add route(), recipientListRoute() EIP-methods 2014-03-14 13:39:38 +02:00
Artem Bilan
53b25dbdcf Add controlBus() EIP-method 2014-03-12 22:32:42 +02:00
Artem Bilan
e738864125 Add resequence(),aggregate(),headerFilter()
Polishing for `@Copyright`
2014-03-12 17:57:03 +02:00
Artem Bilan
eee9dc4163 Add split() and enrichHeaders() EIP-methods 2014-03-10 20:54:26 +02:00
Artem Bilan
3d0cec9544 Add support for FixedSubscriberChannel 2014-03-06 16:47:47 +02:00
Artem Bilan
feb610d92b Add enrich() and channel names option 2014-03-05 20:36:51 +02:00
Artem Bilan
83fb344bd3 Add delay() EIP-method 2014-02-22 16:49:50 +02:00
Artem Bilan
abab1af3d5 Support @Autowired for Configurations with DSL 2014-02-19 11:26:52 +02:00
Artem Bilan
c161210c3e Introduce method-invoking handle
* Add generic argument to `GenericEndpointSpec`.
Since `EndpointSpec#get()` returns `Tuple` with `EndpointFactoryBean` and `MessageHandler` objects
it is useful to get deal with specific generic for further `MessageHandler` configuration within `EndpointConfigurer` lambda
* Change DSL-methods to get deal deal with those generics.
* Add `FileWritingMessageHandler` test to demonstrate it.
* Fix bug around double `MessageHandler` bean registration from `DslIntegrationConfigurationInitializer`, when handler is a reference
to existing bean.
2014-02-17 17:11:41 +02:00
Artem Bilan
ac46625a83 Introduce EIP-methods handle() and bridge()
* Remove generic argument from `GenericEndpointSpec`: it isn't necessary
* Add check for `one-way` flow in case the last component isn't `MessageProducer`
2014-02-14 19:41:39 +02:00
Artem Bilan
70d0e35806 IntegrationComponentSpec refactoring
Introduce `Tuple`
Apply `EndpointConfigurer` for `MessageSource<>` DSL-method
2014-02-14 16:24:11 +02:00
Artem Bilan
0baeb52b3f Revert IntegrationFlow processing to BFPP
Add test case for `@MessageEndpoint` to et deal with channel from `IntegrationFlow`
As far as `AbstractMethodAnnotationPostProcessor` tries to resolve `channel` on endpoint creation,
the `IntegrationFlow` processing can't be done in the `BPP`, because `MessagingAnnotationPostProcessor` may parse
annotations for bean before `IntegrationFlowBeanPostProcessor` will do its stuff.
2014-02-14 12:08:28 +02:00
Artem Bilan
1e6d50d33c Spec<?, ?> improvements
* Provide `id`-aware DSL methods for `MessageChannelSpec`
* Rework `DslIntegrationConfigurationInitializer` to delegate to `IntegrationFlowBeanPostProcessor`
to allow to use components from `IntegrationFlowBuilder` via `@Autowired`
2014-02-13 21:44:48 +02:00
Artem Bilan
ae349bd5d8 Provide Copyright for classes 2014-02-12 12:35:18 +02:00
Gary Russell
e91b6de83c Make gradlew Executable 2014-02-11 18:12:55 -05:00