Is there a way to configure adapters via Java code
Hi In the sample, the configuration is done via XML. Is there a way to do the same via Java code? It would be a great help if you could direct me to the correct docs, please.
The best documentation about Java Configuration in Spring Integration is here: https://docs.spring.io/spring-integration/docs/5.0.0.RELEASE/reference/html/overview.html#programming-tips.
You should just follow those recommendations and configure the @InboundChannelAdapter for the SplunkPollingChannelAdapter and @ServiceActivator for the SplunkOutboundChannelAdapter, respectively.
The SplunkExecutor bean has to be injected in both cases.
Does it mean that this repo is still good for spring-integration 5.0.0?
I think so. Do you see any problems?
This repository has been without love for a while though: no requests - no activity.
I did try out yet, but just happened to find it when doing the search.
I agree, there seems not that much love for it, unfortunately.
Well, there is just no any feedback from the community and any requests or bug reports. This your one is the first for last two years: https://github.com/spring-projects/spring-integration-splunk/pull/5. Therefore we don't invest effort and evangelism to the feature out of use from the Community.
Although we are always open to chat like this and won't mind to fix the issue or accept the contribution!