I'm facing similar problems, IMHO snapshots are a no-no for going to production.
Type: Posts; User: jvictor; Keyword(s):
I'm facing similar problems, IMHO snapshots are a no-no for going to production.
All I see is a rejected execution exception - this happens when no: of threads > pool size - I am not sure what you are planning to accomplish, but if you want to queue the thread and retry later you...
Alright Mark, I'll try that approach. Thanks a lot for the help !
Yes you are right :)
I want to process the messages only at the defined polling intervals, but it appears to me that the poller instantly picks messages from the queue. (i.e. as soon as it gets...
Sorry for being vague here. So this is how the flow is
The processor-class (service activator) gets messages from the mainChannel , looks if the messages can be processed if yes they are send to a...
I would guess that n < 100.
Say lets take the case that I set 100 as max-messages-per-poll; I end up making 100 calls to the JMS layer which I want to avoid.
As I mentioned earlier the...
I have a scenario where I need to look at a JMS queue, attempt to process
messages and if not successful return the messages back to the queue. Basically the class that processes the message(s)...
Looks like the spring jars (1.5.5) pushed to the official mvn repos cannot be accessed by adding the dependencies as listed in the correspoding maven-metadata.xml by adding the following dep:in ...
In order to circumvent the issue of spring-integ-mail not having support to provide an authenticator I have switched to configuring an ImapIdleChannelAdapter by using the bean tags. I substituted the...
Done, http://jira.springframework.org/browse/INT-540
Thanks
I'm facing issues in connecting with a IMAP-S server, the reason is that we are not able to pass in a authenticator while we obtain a session.
The current code in AbstractMailReceiver's...
Mark, shouldnt the Abstract mail receiver also have the ability to take in a authenticator ?
I guess that could be the problem, please look at this trace
DEBUG [SimpleAsyncTaskExecutor-1]...
No I dont. I had it earlier, but changed it to a alphanumeric value.
Nope Mark, we use the default port. The API client connects without any port being mentioned.
I need to connect to a imap-secure mail server and somehow I am getting a javax.mail.AuthenticationFailedException , the same credentials work using the simple Java mail API client (I wrote a test...
desperate times need desperate mesasures ;)
I added
<property name="sessionTransacted" value="true" />
<property name="sessionAcknowledgeMode">
<value>2</value>
</property>
to the jmsTemplate and...
I tried adding
<property name="sessionTransacted" value="true" /> to
<bean id="jmsContainer"
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
....
<property...
I am trying to develop an integration system that hooks together 2 third party systems, and on receiving a 'sync' message from app A I need to invoke 2 web services on app B.
I would like to...
Hmm yea.. All I wanted is setup the data prior to running my tests.. I guess DBunit should suffice for now..
thnx guys..
Hi
Is there a way to order a way the unit tests must be executed from ant ?
Say for example , I want to execute unit tests for User & Role . A User must have at least one role, Hence the Role...
Im having a small problem with the aforesaid approach..
I use AbstractDep....Tests and (in-mem) HSQLDB, for testing the dao. Consider the following case .
We need to save a User to the...
Apparently it was due to 2 copies of my jars, my build file was including them twice.
Thanks a lot Karl !! You have corrected my DAO stratergy :)
Hi
The only difference between our code is that
public class SpringHibernateAuthDAO extends HibernateDaoSupport
is written as
public class SpringHibernateAuthDAO extends...