Hello,
I'm trying to deploy a webapp on my application server and I have two needs:
- Loading an application context on startup (when the webapp is deployed)
- Exposing a webservice
So far, I...
Type: Posts; User: plecesne; Keyword(s):
Hello,
I'm trying to deploy a webapp on my application server and I have two needs:
- Loading an application context on startup (when the webapp is deployed)
- Exposing a webservice
So far, I...
Dear Cleric,
The content of the files is not saved in memory, only the File objects are. File objects contain only the path in memory (and an integer -- prefixLength) : this shouldn't cost more...
Nope, it looks even better :)
Glad it worked !
I guess you could implement your own filter (implementing the interface "FileListFilter") and check the last modified time to see if it has changed: the filter could keep a Map of every file it...
Hi rock_star,
Indeed, using the error-handler will rollback the transaction anyway, but using the error-channel attribute will not (unless the channel is synchronous and the subscriber to this...
Indeed, reading deeper in the documentation, I found:
There may be a good reason I'm not aware of, but couldn't Spring offer the possibility to override the default values of the MBeans with...
Even with transactional resources, if the transactions are not XA, there is always a tiny gap (between the different commits) and thus a chance to get a duplicates. Transactions just make the gap...
Hi Gary,
I didn't know that a poller could be transactionnal... This is probably what was missing to my scenario, and this is definitely worth some reading and testing from my side before asking...
Hi Oleg,
Thank you very much for your time and your help.
I indeed believe quite strongly that your solution works, though I still wonder how to delete the file in the second process...
Hi,
I have a few questions regarding the File Channel Adapter and hoped that someone could help me:
1- I have read that the "AcceptOnceFileListFilter" is the default filter of this channel...
After a deeper investigation, here is where I found so far:
- Setting the @ManagedResource annotation on a class (and all its derivatives @ManagedOperation, @ManagedAttribute) works fine as long...
Hi,
I ran into the same issue. Have you eventually found anything?
Pierre
Anyone?
Is the 1-second timeout the only way to stop properly a message-driven JMS listener in Spring?
Yes, I'm talking about that call.
To avoid useless CPU consumption, I have overriden the timeout value for all my consumers and set it to -1.
Having the same issue here (with some leads):
Context not shutting down when awaiting for a message on a JMS destination
After some further investigation, I have noticed that calling applicationContext.stop() is equivalent as calling javax.jms.Connection.stop() : it stops from reading from the queue but blocks the call...
Hi,
I'm facing an issue regarding the lifecycle of my flows (configured with Spring Integration).
Having several flows running on the same application server in different application contexts, I...
Hi,
I'm facing an issue regarding the lifecycle of my flows (configured with Spring Integration).
Having several flows running on the same application server in different application contexts, I...
The MessagingGatewaySupport class seems to throw an exception anyway, whatever is done in the error-channel. So, even though the error-channel returns a valid message, the JMS component will receive...
Hi,
Regarding the evolution on the "error-channel" on the inbound-channel-adapter component, even though the exception is sent on the error-channel, a MessagingException is thrown anyway back to...
Does that ring a bell to somebody?
Should I raise this question somewhere else?
Thanks !
Hi,
I couldn't reproduce the issue on 2)... Maybe I did something wrong the first time and thus won't investigate further.
--
Regarding 1), I exposed my DefaultMessageListenerContainer and I...
Hi, thank you for your answer.
Yes, I indeed called stop(). I won't have the opportunity to raise a JIRA for the next two weeks, but as soon as i can, I will :)
Hi,
To start and stop my flows, I used to start and stop the whole context.
However, following the discussion http://forum.springsource.org/showthread.php?t=95050 , I wanted to try to stop my...
Thank you Mark, that's perfect!
Do you consider it normal though that the Message is modified (only the headers in this case) when the return type of a Service Activator is of class "Message" ? ...