Spring Integration DSL Channel Support -
in current release 1.0.2 of spring integration dsl can see of basic channels not present rest/http, tcp/udp, jdbc, mqtt, etc.
just wanted know whether protocols/channel in roadmap or has been excluded deliberately.
ps: might sounding stupid posted question wanted know reason.
from 1 side should understand enough big work address them all. example http module on our radar 1.1
release.
from other side spring integration java dsl edition existing spring java & annotation configuration, @bean
definition valid there, too.
with desired protocols can go ahead , configure components @bean
, refer them .handle()
or .from()
eip-methods.
for example:
@bean public messagesource<object> jdbcmessagesource() { return new jdbcpollingchanneladapter(this.datasource, "select * foo"); } @bean public integrationflow myflow() { return integrationflows.from(jdbcmessagesource()) .split(...) .transform(...) .handle(new mqttpahomessagehandler("tcp://localhost:1883", "si-test-out")) .get(); }
Comments
Post a Comment