Ah, I've run into a problem with that method: although i now get the http header ok, i also need the contents of the original message (previously, using ErrorMessage, I could retrieve these using...
Type: Posts; User: squawk; Keyword(s):
Ah, I've run into a problem with that method: although i now get the http header ok, i also need the contents of the original message (previously, using ErrorMessage, I could retrieve these using...
I'd be happy to do that, but from what I've seen the 500 response causes a MessageHandlingException inside the gateway which results in an ErrorMessage that would bypass the router? Or should I also...
Thanks, but it's not the original message headers that I want.
The original message is passed to an outbound http gateway. The gateway makes a HTTP request and gets a 500 response. It is the...
Thanks, I put the error-channel on the inbound endpoint and now pick up the ErrorMessage in a transformer on the error channel.
When the external server returns a HTTP 500 message, some additional...
My int-http:outbound-gateway calls out to a server that may return an error message with a HTTP 500 status code.
If that's the case I want to do a small amount of error handling only, I don't want...
Thanks Gary, now working fine with a transformer.
Thanks also for the introduction to Conversion Service and Data Type channels, that knowledge is very helpful.
I'm trying to receive XML messages over a TCP connection and experimenting with the following setup:
<beans:bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
...
Oleg's recent segmentation presentation offered a alternative to an error being propagated all the way back to the start of the message flow.
I've encountered an issue and I don't know whether...
solved. i had a trailing newline character in my JSON data. removed that and it all works perfectly.
I've written a simple server using Spring Integration which sends a HTTP response to a HTTP request. It works fine when the request/response payload is text/plain, however I would like to use JSON. ...
Hi - I get exactly the same problem when I switch from 3.0.1 to 3.0.3.
java.lang.NoSuchMethodError:...
rollback issue now solved: the table in question was type MyISAM, now changed to InnoDB and it all works perfectly. phew!
in summary these things tripped me up:
1) mysql connector/j 5.1.6...
Ok, I've ripped out Jboss and put in Atomikos. I also used mysql connector 5.0.8. And it all works.... kind of: it will persist, find, but rollback doesn't seem to work properly.
BTW if I use...
re JBoss XA driver indication, that's taken care of by the dynamic class in the datasource properties... i think...
atomikos was my original choice, but I kept getting a "null source" problem. ...
I followed the xa transaction tutorial on linux world (sorry, not allowed to post URLs) and then tried to convert to JPA using Soomsam's example.
My Spring configuration:
<bean...
I've spent a week now and still haven't got Spring + Hibernate/JPA + JTA working. Using the forums I've come pretty close, currently I'm using JBossTS, but I just can't get the EntityManager to hook...