Hi!
In addition you have to use request-payload-type attribute on the <int-http:inbound-gateway>.
Take a look into source code of HttpRequestHandlingEndpointSupport#extractRequestBody and further...
Type: Posts; User: Cleric; Keyword(s):
Hi!
In addition you have to use request-payload-type attribute on the <int-http:inbound-gateway>.
Take a look into source code of HttpRequestHandlingEndpointSupport#extractRequestBody and further...
I'm using RabbitMQ as a middleware and AMQP-adapters to access it from my aaplications.
Hi!
At aglance looks like you are looking for that what Spring XD will provide: https://github.com/SpringSource/spring-xd/wiki/_pages
https://github.com/SpringSource/spring-xd/issues/1
However...
Hi!
You need to declare <int-jdbc:sql-parameter-definition> and <int-jdbc:returning-resultset> respectively.
Take a look into Oracle sample:...
Hi!
Sorry for delay.
It's just a JavaBean with JAXB annotations, generated from XSD:
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "response", propOrder = {
"headerData",
@Nathan,
Thanks for your zeal!
I'll come back to you with my opinion soon. Next week...
Take care,
Artem
Hi!
Everything looks good.
Regarding <poller>, take a look here: http://static.springsource.org/spring-integration/reference/htmlsingle/#channel-adapter-namespace-inbound
A 'Poller...
Hi!
Definitely, the <aggregator> is a main component for your case.
1. You should add some custom message header for Correlation Key
2. Send request to the aggregator and to the service
3. Send...
Hi!
In general it's a question for Spring Core (http://forum.springsource.org/forumdisplay.php?26-Container), not Spring Integration (http://www.springsource.org/spring-integration)
However I...
Hi!
You should create ApplicationContext, not BeanFactory:
ApplicationContext context = new ClassPathXmlApplicationContext("application-context.xml", App.class);
Good luck,
Artem
Hi!
No it's not. You just need to place an additional endpoint (<filter>) between inbound adapter and input channel:
<inbound-channel-adapter channel="filterChannel"/>
<filter...
A-ha!
OK, I see.
You want to have this one:
<int:header name="errorCode" expression="@errorBean" />
'ref' attribute is evaluated only once - on application context start up, as other...
Hi!
Show your config, please.
Heuristic tips might not have a power.
Take care,
Artem
Hi!
Let's look here: https://jira.springsource.org/browse/INT-2865
Maybe it will be usefull in your case too...
And here is a sample how to imlement ClobConverter:...
Hi!
In general I don't understand you...
Why don't you use
requires-reply="false"
on the <enricher> element?
Take care,
Artem
Hi!
To get a good result you have to use 'path' attribute and UriPathHandlerMapping instead of...
Hi!
I try to explain what's going on.
You can configure poller with "fixed-delay", so each poll task will be runed only after previous is complete.
However this sequential behaviour works only...
Hi, Anirban!
Maybe Hazelcast will be usefull for you?
http://forum.springsource.org/showthread.php?136439-How-to-poll-messages-from-an-inbound-message-adapter&p=443237#post443237
Take care,...
Hi!
Unfortunately, you can't do it right now. IMO it's a simple bug.
Please, open a JIRA issue(https://jira.springsource.org/browse/INT) about enhancement 'routing-key-expression' &...
But here is not enough info in history...
Where is a call of WS?
Comment, please, your in-line wire-taps and try again.
I want to see how message goes through 'sourceChannel' &...
In addition I suggest to switch on this:
<message-history/>
<wire-tap channel="logger"/>
<logging-channel-adapter id="logger" level="WARN" log-full-message="true"/>
To see how your...
I recommend you go through the DEBUG on AbstractPollingMessageListenerContainer#receiveAndExecute...
Hi!
1. As I understand you mustn't read DB before you make an UPDATE. In this case you should control lifecycle of <int-jdbc:inbound-channel-adapter> via Control Bus: call its start()/stop()....
Do you mean, that Db transaction is rollbacked, but not JMS?
How about to exclude usage of DataSourceTransactionManager ?
From other side you can simply:
throw new...
Hi!
Show your message-flow config, please.
How is it if you replace int-http:outbound-gateway with some simple endpoint: service-activator or just bridge?..
-Artem