We have a message pattern that is not doing the same thing given two similar messages. The stack trace from the message flow that fails to complete the pattern:
12:47:28.701 DEBUG...
Type: Posts; User: ehrdoctors; Keyword(s):
We have a message pattern that is not doing the same thing given two similar messages. The stack trace from the message flow that fails to complete the pattern:
12:47:28.701 DEBUG...
Hi,
I have an Spring Integration application that reads a LinkedHashMap payload from AMQP inbound and uses JDBC gateway to insert a new record into a table. About 30% of the time the insert fails...
I am looking at this problem now. essentially i have a spring amqp inbound adapter that reads messages from a queue. Down stream the program does some header enrichment, and then 2 SQL insert...
we have a use case where we need to have the queue-that the inbound amqp adapter receives from is:
1. named the same as the hostname of the server it is running on. we read the hostname in the...
I realized this is the wrong place. So I crossposted here in Spring Integration:
http://forum.springsource.org/showthread.php?138227-payload-encoding-in-Message-lt-String-gt&p=447161#post447161
I am having a strange problem. I have the need to use Amazon Web API to make restful calls to interact with Amazon cloud. Amazon Web API requires developer to sign service calls using SHA256 hash...
I am having a strange problem. I have the need to use Amazon Web API to make restful calls to interact with Amazon cloud. Amazon Web API requires developer to sign service calls using SHA256 hash...
Thanks Gary, your inputs have already been most valuable. I am trying to have the code do an sql insert statement, if an initial select statement indicates no records in the database. I was...
Gary, I see this code in the link you sent and it is very similar to my use case, so I used it accordingly.
<int:header-enricher input-channel="publishingChannel"...
so the JDBC Template/data source can be passed into the foo.myService class through a property. And then we have to use native code to write query etc. Seems straight forward enough. Maybe, it...
If the service activator bean method needs to do a db query can it use a jdbc adapter defined in the application's context.xml file?
I have an application with a context.xml for spring integration. In that context I have service activator bean. Does my service activator bean have access to the context of application? If so,...
so I have a use case that requires somewhat unique functionality.
I understand the concept of message router in spring integration, but from what I understand, the router implementation takes a...
Thanks Gary, I was trying multiple variations of code on the sender side to experiment with different message types. I ended up using a LinkedHashMap to construct the payload, and converting that...
Thanks Gary, I started down that route thinking it was a contentType problem prior to checking back on the thread. I made my own client and that did progress the error. Now I get this:
...
Hi,
I am trying to implement something relative simple in spring integration. My use case is to read from a message queue with amqp and update a database with a heartbeat. I coded the app like...
https://jira.springsource.org/browse/INT-2851
So could use use notification-publishing-channel-adapter on a int:mail pop3 adapter since it is polling?
I configured my SI project to use JMX. It gives me control of the endpoints and various components of my SI beans which I like.
Looking at the application running in JConsole, I notice that there...
I turned on JMX which was most of what I was looking for :) .
I am still looking into control bus. Whats the advantage over JMX? .
The control box docs are kind of limited on details here:...
I am looking into the same issue, and think that this parent/child context seems like a work around (albeit feasible in the short term), not a long term solution to the problem.
In my...
Ok, so I now see that the MailSendingMessageHandler only does something if the payload of the Message on the Queue is of type byte[]. If its type String, it just sets the String to the message body. ...
I changed to the code now shown in Post#1 to something that was working, , but now its not. I have the XML in Post#5 above on the Rabbit Queue as a string. I am trying to create a MimeMessage from...
I got working, will post the final source tomorrow as a good example of how to do AMQP->SMTP outbound.
I am still not seeing the mail leave via SMTP. Everything else works. The message is taken from the Rabbit Queue and the message get transformed (loaded into a DOM, parsed with XPath, build a...