java - Spring Integration to invoke multiple methods and response back to the same bean -
i'm newbie in spring integration. in current scenario, trying phone call methods this:
myobject.setmylist(); myobject.setmylist1(); myobject.setmylist2(); myobject.setmylist3();
i had interface define gateway, problem how run multiple methods @ 1 time using spring integration , homecoming myobject
. methods interdependent here.
second case: had method dependent on method result. method2 depends on method1 result.
method2.getmethod2result(method1_string).
how can handle situation using spring integration?
i know how can handle java, not in spring integration.
there's no bean
in spring integration, have messages. assuming bean payload of message, accomplish both use-cases writing custom transformers (like payload enrichers) homecoming same object after invoking sequence of methods on it.
java spring concurrency spring-integration
No comments:
Post a Comment