Search:

Type: Posts; User: monahanky; Keyword(s):

Search: Search took 0.01 seconds.

  1. I don't think there's a way to configure the...

    I don't think there's a way to configure the CachingConnectionFactory to proactively close the connection after a period of time. One custom solution is to implement a timer in your code which...
  2. Ok so the place where the exception is thrown...

    Ok so the place where the exception is thrown could be key. It happens when sending a message to the queue. So the flow is as follows...


    Initially the shared connection and session are created....
  3. My app is not configured using Spring so putting...

    My app is not configured using Spring so putting it in the appContext is not an option. Also I use vanilla JMS, not the JmsTemplate. I just wanted to hook in the CachingConnectionFactory for...
  4. CachingConnectionFactory doesn't reset connections on error.

    Hi,

    I'm using the CachingConnectionFactory in standalone mode (outside of spring context) to cache connections and session for my jms application. All works well and the connections and sessions...
  5. Replies
    0
    Views
    483

    Clarification on API documentation

    Hi,

    I'm looking for a clarification on what I think is a discrepancy between api documentation and the code base. Looking at the CachingConnectionFactory api, I see a constructor which takes a...
  6. The problem was solved by altering transactional...

    The problem was solved by altering transactional attributes on the data source driver.
  7. Testing an implementation of AbstractJmsMessageDrivenBean

    Hi,

    I'm using a MDB which extends AbstractJmsMessageDrivenBean. I need to write a unit test for receiving a message from a configured queue. I've configured activemq as the messaging provider and...
  8. Thanks for the reply. Sure, I understand what...

    Thanks for the reply.

    Sure, I understand what you are saying. I updated to the following configuration and still get the same behavior.


    <bean id="dataSource"...
  9. Problem with commit when using Spring JDBC & MSSQL

    Hi,

    I'm using Spring to configure my container managed datasource. My container is Websphere which is used to set up and define a connection to the underlying datasource and Spring then looks up...
  10. Problem when Exception is thrown during Spring initialization

    Hi,

    I'm using Spring to initialize an EJB. I have the following configuration setup

    beanRefContext.xml - references additional spring configuration as follows



    <bean id="earContextId"...
  11. Replies
    0
    Views
    989

    Access spring context in log4j appender

    Hi all,

    Apologies if this is a novice question. I've some custom log4j appenders in my application & i need access to the spring context in them so that i can do some application monitoring. How...
  12. Problem using webapp.root system property in unit test

    Hi,

    I implemented a webAppRootKey in my web.xml using the context param & the WebAppRootListener. In my spring configuration i set up PropertyPlaceholderConfigurer as follows


    <bean...
Results 1 to 12 of 12