Search:

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

Page 1 of 2 1 2

Search: Search took 0.07 seconds.

  1. I think I figured it out. Calling...

    I think I figured it out. Calling SingleConnectionFactory.destroy() fixes this problem.

    -Arul
  2. AMQP Connection not closed after using RabbitTemplate

    Hi,

    I am trying to publish a message from my application and once the message is published I need to dispose the underlying RabbitMQ connection used by the template. I do see this logic already in...
  3. Replies
    2
    Views
    1,856

    Thanks Chris for the update. I will try with...

    Thanks Chris for the update.

    I will try with M5.

    -Arul
  4. Replies
    2
    Views
    1,856

    post-construction configuration behavior

    Post construction configuration does not retain original configurations. I am not sure if this is the expected behavior. I am using M4.

    Here is my test:

    JavaConfigApplicationContext...
  5. Replies
    10
    Views
    4,176

    Chris, I added the maven project to the JIRA....

    Chris,

    I added the maven project to the JIRA. Hope this helps.

    Thanks.
    Arul
  6. Replies
    10
    Views
    4,176

    Hi Chris, No problem. Sure I can package it...

    Hi Chris,

    No problem.
    Sure I can package it as a maven project and resubmit to the JIRA later today.

    Thanks once again for taking time to look into this issue.

    Best regards,
    Arul
  7. Replies
    10
    Views
    4,176

    Hi Chris, Did you had any chance to look into...

    Hi Chris,

    Did you had any chance to look into this issue? Do you think of any work around for this problem? We have been stuck with this for a while.

    On a different note, I was reading the blog...
  8. Replies
    10
    Views
    4,176

    Chris, I created a JIRA issue...

    Chris,

    I created a JIRA issue (http://jira.springframework.org/browse/SJC-247) and attached the original test case to the issue.

    Thanks for your support again.

    -Arul
  9. Replies
    10
    Views
    4,176

    Hi Chris, I tried creating a simple test case...

    Hi Chris,

    I tried creating a simple test case without using database, but I was not able to derive a similar use case for scoping. I suspect this problem could not be reproduced without the...
  10. Replies
    10
    Views
    4,176

    Thanks Chris for your suggestion. I did not...

    Thanks Chris for your suggestion.

    I did not specify the scope earlier. I just added prototype scope to my DaoImpl class and tested. But, it seems to have no effect.

    Here is my DaoImpl code:

    ...
  11. Replies
    10
    Views
    4,176

    Issue with Lazy init in configuration

    Hi,

    I am trying to do lazy init my database configuration so that I can override default configuration at runtime. I have tried different combinations using Lazy and Prototype scopes, but with out...
  12. Replies
    2
    Views
    5,905

    Sticky: Congratulations Chris on this major milestone....

    Congratulations Chris on this major milestone. SJC rocks!

    -Arul
  13. When I try to query JPA entities with this...

    When I try to query JPA entities with this approach, I get the below error.


    Exception in thread "main" org.springframework.transaction.CannotCreateTransactionException: Could not open JPA...
  14. I posted too quickly :) If I try your other...

    I posted too quickly :)

    If I try your other suggestion by making the DataSource bean @Bean(scope=DefaultScopes.PROTOTYPE), this works.

    Do you think this approach guarantees this to work in all...
  15. Adding JpaConfiguration to context fails to override default DataSourceConfiguration

    Hi Chris,

    This works only if I include DataSourceConfiguration to the JavaConfigApplicationContext. If I include both DataSourceConfiguration and JpaConfiguration, the override does not work. It...
  16. Thanks Chris. It worked like a charm as always...

    Thanks Chris.

    It worked like a charm as always with SJC :)

    -Arul
  17. Overriding configuration after context creation

    Hi Chris,

    I have the following test case which fails to override the bean configuration after context creation. Could you please correct me if I am missing something in my configuration?

    ...
  18. I am not sure how the bean inheritance is...

    I am not sure how the bean inheritance is supported in JavaConfig. May be someone in this forum can chime in. I prefer to use Spring 2+ Transaction configuration as they are less verbose and...
  19. Here is a comprehensive working example using...

    Here is a comprehensive working example using JavaConfig (uses standalone HSQL server with a simple foo table). This java configuration can be further simplified if you use annotation driven...
  20. Chris, I was able to resolve this issue after...

    Chris,

    I was able to resolve this issue after going through some of the system tests.

    Btw, did you had a chance to look in to the code which I submitted for...
  21. Replies
    6
    Views
    2,336

    Hi Mike, Here is my first attempt to explain...

    Hi Mike,

    Here is my first attempt to explain possible cause for this behavior in SJC. As per the first test, bootstrapping JavaConfig from XML with ConfigurationPostProcessor works just fine,...
  22. Replies
    4
    Views
    2,742

    Hi Mike, I was able to successfully CRUD using...

    Hi Mike,

    I was able to successfully CRUD using your configuration in Tomcat6/Postgres for the PetClinic sample bundled with SJC, only with a slight modification.

    I see your configuration is...
  23. @ResourceBundles was removed in favor of...

    @ResourceBundles was removed in favor of @PropertiesValueSource in M4-snapshots (per http://jira.springframework.org/browse/SJC-169).

    -Arul
  24. Thread: Hessian Exporter

    by aruld
    Replies
    1
    Views
    1,775

    Michele, This should work for you. It also...

    Michele,

    This should work for you. It also includes a simple test.


    public class HessianTest {
    @Test
    public void testHessianConfig() {
    ClassPathXmlApplicationContext bf =...
  25. Replies
    4
    Views
    2,742

    Mike, @AnnotationDrivenTx behaves exactly like...

    Mike,

    @AnnotationDrivenTx behaves exactly like <tx:annotation-driven/>. It assumes that you have a bean named 'transactionManager' and your services are annotated with @Transactional attribute.
    ...
Results 1 to 25 of 47
Page 1 of 2 1 2