spring-attic / spring-integration-dsl-groovy

Groovy DSL for Spring Integration
Apache License 2.0
56 stars 40 forks source link

GH-15: Fix `IC.getMessageFlowByName()` #16

Closed artembilan closed 8 years ago

artembilan commented 8 years ago

Fixes GH-15 (https://github.com/spring-projects/spring-integration-dsl-groovy/issues/15)

Previously the IntegrationContext.getMessageFlowByName() made an assignment of the incoming filter name to the to the first object in the collection and returned it.

Fix assignment to the equal operator. Add an appropriate test-case