anyone with info on this please?
Type: Posts; User: rock_star; Keyword(s):
anyone with info on this please?
HeaderMappingMessageConverter class is removed from 2.0.4.Release? I saw it was there till 2.0.0.M6? What is the new replacement? And, how does that work?
You mean the combining files outside batch and rest of it using Spring-Batch? I wanted to use S-Batch as it has nice abstraction for Flat files and good APIs for pagingReader/CursorReader for...
I am looking for some guidance on pattern that I can use for scenario below:
Scenario: Read a database table( full table or selective depending case ) and process each record for some logic.
I am able to run the test within eclipse but when I start using the maven then the test fails to run.
It seems to fail at the point where I refer to annotated bean...
I am having the same problem. Junits works fine with Eclipse and maven install does not run tests correctly.
I am using maven 2.2.1 and spring-test( 3.0.5) and junit as said above.
Thanks Mark for the quick reply.
Yes, I am passing the priority header with value 9.
I will try that tomorrow again in office and let you know the behaviour. Thought JMSPRiority should have...
Can someone please reply?I tried thisagain today but same results as above. Please let me know I I am missing something.
I have upgraded SI version 2.0.3 but Spring Integration message priority header to JMS message priority- does not seem to work for me.
I think the issue -...
Thanks for response. I am using error-channel as well and as you have pointed, the channel in my case is direct( synchronous).
I had pollable( asynch) channel but I removed that...
Can you please reply with your comments or suggest some alternate approach for this?
I really need to use the transact mode of ack.
any response would be helpful for me.
I had used similar framework in past and this is how it worked there.
When there is a exception anywhere in the flow, the exception flows back to...
I understand that but unfortuntaley----
The exception is being thrown only in the exceution path/flow where a request comes and Unmarshaller tries to unmarshall the XML. This results in...
Agreed, but ERROR handling in my case do not throw any kind of Throwable/Error/Exception but still the message is not committed/removed from the input queue.
And, after looking at the code above-...
I think doExecuteListener will never commit if there was a runtimeException as I dont see handleListenerException(ex) ding anything.
I am assuming it is a RUnTimeException thrown when my system...
Hi Mark, the null pointer one was not from error-handling flow. I thought(wished was the case) the same earlier when Oleg answered few.
Ok, here i made a sample class(attached).
Yes, in theory error-channel should do the stuff as mentioned by you but sadly it is not doing for me.
As soon as I turn the transacted ack on the mesasge gets retried infinitely as it is not...
I would have thought so. But that would mean the message would not have travelled to response Topic, no?
May be something to do with Tibco EMS servers? ActiveMq seems to be nice but Tib world has...
So, what i do on ErrorMessageHandler is:
1) Extract the failed message using
MessagingException exception = (MessagingException) messageInput
Please see the config below. I am throwing an exception from messageUnMarshallingTransformer and that ultimately comes to
Mark, I edited the two points in my first message. please let me know if it is clear now. Sorry for the ambiguity.
I am using error-channel attribute on message driven endpoint. The flow is like
If error occurs anywhere in...
I am receiving messages on message-driven-channel-adaptor rom TIB queue A and then message gets processed by number of activators/enrichers/processors and finally put on the next Tib...
Thanks Mark. I am working with values 1 to 9, should be good.
Is MessagePriority enum removed from 2.0 RELEASE? I dont seem to find it.
I have my own enum but just wondering for the reason.