Search:

Type: Posts; User: nicolas.loriente; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. @SessionAttributes and method @ModelAttribute

    Cannot create a session after the response has been committed

    Hi everyone,

    I've been having some issues getting @SessionAttributes and method level @ModelAttribute working together.
    Also, I'm...
  2. Hi Gary, Yes, you are right... I see it on the...

    Hi Gary,

    Yes, you are right... I see it on the distribution. I had only checked to see if it was posted here http://www.springframework.org/schema/rabbit.

    Thanks,

    Nick.
  3. Hi Gary, Thanks for the quick and detailed...

    Hi Gary,

    Thanks for the quick and detailed response. I see it on the APIs but there seems to be no schema support. Is this the case at this point?

    Thanks,


    nicolas.loriente
  4. Support for ReturnListener on RabbitTemplate???

    I don't see a way to register a ReturnListener (used for mandatory and immediate undeliverable messages) on RabbitTemplate? It seems basic functionality... Plans to add it on future realease?
    ...
  5. Replies
    1
    Views
    834

    To synchronize RabbitMQ and SQL Server within a...

    To synchronize RabbitMQ and SQL Server within a external client transaction:
    1. configure a PlatformTransactionManager
    2. set the "channelTransacted" flag to true in the RabbitTemplate and/or...
  6. Yes, you should be able to mix the...

    Yes, you should be able to mix the configurations. Silly question.... are you allowing time for the message listener to get called? Your message listener will run in a different thread and if your...
  7. How are you loading the context? If you are doing...

    How are you loading the context? If you are doing so programmatically as a stand alone app for example:

    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(...
  8. Hi Alex, - How do you know changes to the...

    Hi Alex,

    - How do you know changes to the cache are not being propagated to the members?
    - Where and how are you configuring the region(s)?

    I have almost the exact same setup and I DO see the...
  9. The GemfireTemplate.query() simply delegates to...

    The GemfireTemplate.query() simply delegates to Region.query(). So, technically you should see the same error if you where working directly with Gemfire APIs instead of Spring template.

    The issue...
  10. Here is a little example I got working. On...

    Here is a little example I got working.

    On the server side
    The controller:

    @RequestMapping( value="/user/save", method=RequestMethod.POST, consumes="application/json" )
    public @ResponseBody...
  11. You are telling the RestTemplate you expect a...

    You are telling the RestTemplate you expect a Payment as the return type:


    restTemplate.postForObject("http://localhost:8080/aurest/rest/payment", payment, Payment.class);

    But your controller...
  12. Hi Marten, Thanks for your reply. About not...

    Hi Marten,

    Thanks for your reply.

    About not typing large letters.... I'm seeing triggers stuck in the ACQUIRED state, or other weird data problems is the title. It is a quote from Quartz...
  13. Spring's default opposed to Quartz recommendation

    How is Spring doing this? By harcoding it on LocalDataSourceJobStore initialize() method

    setDontSetAutoCommitFalse(true);

    As stated on Quartz documentation (see quote above) TRUE is the...
  14. OK, found the issue. It was a configuration...

    OK, found the issue. It was a configuration issue. I'll share it here just in case it can save someone some time.

    The problem was that Spring's JpaTransactionManager was not managing JPA + JDBC...
  15. Replies
    2
    Views
    861

    Are you using JUnit or another testing framework?...

    Are you using JUnit or another testing framework?

    When JUnit test finishes it closes the application context and killing any thread that's alive (i.e. quartz scheduler). In order to test your job...
  16. Quartz Not Participating in Spring Transaction

    When transaction rolls back quartz jobs stay put.

    All other operations roll back successfully but quartz jobs which are scheduled within a Spring transaction do NOT roll back. They stay scheduled...
  17. You can achieve this very easily with mockito's...

    You can achieve this very easily with mockito's Whitebox class.



    Whitebox.setInternalState( targetObject, "fieldName", mockObject );


    Where "targetObject" is an instance of the class you...
  18. I'm experiencing the same. My tests have proved...

    I'm experiencing the same. My tests have proved everything but quartz is rolling back.

    I have Quartz Scheduler wrapped around a transaction the following way:


    <!-- Quartz Scheduler...
  19. Replies
    4
    Views
    667

    The way it is it will not fail. You will get your...

    The way it is it will not fail. You will get your cust1 bean just fine as it is defined in the app context but its dependency "someAccount" will be NULL.

    If you want to enforce checking of...
  20. Replies
    4
    Views
    667

    Do you have the setter method in your Customer...

    Do you have the setter method in your Customer class? or you just omitted it for the example? ...You need the setter method for AccountInfo.

    Another issue is coming down the road (as far as the...
  21. Replies
    2
    Views
    1,091

    Do you have a property placeholder defined in...

    Do you have a property placeholder defined in your context configuration?

    e.g.

    <context:property-placeholder location="classpath:META-INF/props/env.properties" />

    And does your properties...
  22. Replies
    20
    Views
    7,658

    notfed, A couple of things: 1. If I were...

    notfed,

    A couple of things:

    1. If I were you I would look into using a dependency management solution such as Maven. The time you invest learning it it will be well worth it and you'll save all...
  23. Replies
    20
    Views
    7,658

    Hi notfed, This seems an XML parsing error. Do...

    Hi notfed,

    This seems an XML parsing error. Do you mind posting your simpleJob.xml?

    Thanks,


    nicolas.loriente
  24. Replies
    2
    Views
    521

    Hi notfed, I believe this is your issue: You...

    Hi notfed,

    I believe this is your issue: You are injecting the dog bean with a "property" instead of an "constructor-arg" so Spring will try to instantiate your bean with the default constructor...
  25. OK, I finally was able to find out what you were...

    OK, I finally was able to find out what you were talking about.

    Please use
    tags next time so it makes it easier to read the posted code.

    The original post was catching the exception and that...
Results 1 to 25 of 95
Page 1 of 4 1 2 3 4