TweetI have been inserting log4j entries into a mongodb database and each entry has been given an ISODate timestamp: Link to this post!
READ MORE »Posts tagged Spring Framework
Akka actor thread utilization and optimization
TweetI am working on a project where we have http requests from an IVR Voice browser making VXML requests. Each request is a phone caller and each new caller in our application will spawn 6 Akka actor requests for various account look-ups. The issue I had was the concurrent new caller volume of ~20 was [...]
READ MORE »Voxeo and Avaya Voice Browser redirect loop error
TweetToday I was completing an Auto Function algorythm for my IVR (Interactive Voice Recognition) application I am working on. The premise to to deduce selections for the customer based on account information such as delinquency, or outage information for the region. Then route the customer to the appropriate section automatically. Link to this post!
READ MORE »Unit Testing Springframework’s @Async annotation
TweetI had a task to make my current webservice calls asynchronous and wanted to use the @Async annotation in Spring 3.0x to accomplish the task. The @Async annotation can be provided on a method so that invocation of that method will occur asynchronously. In other words, the caller will return immediately upon invocation and the actual execution [...]
READ MORE »Reflecting on SpringOne 2GX
TweetThis was my first time attending SpringOne, and I must say, I was truly impressed. Springsource did an amazing job getting a wide breadth of technologies to make this a valuable conference. Some of the main sections I found personally valuable, and thus will be exploring and sharing with the team, are New Spring 3.1 [...]
READ MORE »Groovy Spring DSL Constructor Argument
TweetI have been trying to create an inner class instance of a Spring constructor argument and have been looking at the Grails documentation that states Constructor arguments can be defined using parameters to each method that reside between the class of the bean and the last closure: (from http://www.grails.org/Spring+Bean+Builder) Link to this post!
READ MORE »Using WebServiceTemplate and HTTPClient to enable Webservice read timeout
TweetI was tasked to implement read timeouts in my Spring webservices. I need to be able to implement this on dozens of webservices fairly easy and be maintainable. I also wanted to use Groovy Spring DSL for my bean declarations, and have my timeout configurable, and Integration testable. Link to this post!
READ MORE »Using resources.groovy for Spring DSL with Environment switch
TweetI was having issues trying to get my Spring DSL to operate in ./grails-app/spring/resources.groovy. I have been able to use XML formatting in resources.xml, but I wanted to leverage groovy as well as be able to replace certain beans based on environment such as using Mock objects during test. Link to this post!
READ MORE »Cannot create JDBC driver of class ” for connect URL ‘null’
TweetSo I keep getting this error complaining about org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ” for connect URL ‘null’ in a Hibernate DAO JUnit 4 test case I have and this is the full trace: Link to this post!
READ MORE »Cannot locate BeanDefinitionParser for element
TweetWhen I upgraded from Camel 2.0-SNAPSHOT to 2.0.0, while I was using Spring 2.5.6, I started getting the following errors on deployment: error: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Cannot locate BeanDefinitionParser for element [jta-transaction-manager] Link to this post!
READ MORE »
