Announcement Announcement Module
Collapse
No announcement yet.
Spring Integration Inbound Channel Adapters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Integration Inbound Channel Adapters

    hI,

    Is it possible to use int-jdbc:inbound-channel-adapter and si:inbound-channel-adapter without configuring Poller alongwith?

    In case I want to execute JDBC call from Webservice / URL, I may not need to have Poller configured.

    Can you please suggest.

  • #2
    Its not possible to use jdbc adapter without poller channel. We have the same mechanism and we have created a gateway interface for entry point to spring integration flow. So from your web service you call your gateway interface method which puts request onto pollable channel.
    For eg.

    Code:
    public interface SomeEntryPointGateway {
        void callJdbc(args);
    }
    
    In your configuration:
    
    <int:gateway channel="jdbcChannel"/>
    <int:channel id="jdbcChannel">
       <int:queue>
    </int:channel>
    Hope this helps!!

    Comment

    Working...
    X