Search:

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

Search: Search took 0.03 seconds.

  1. ContentNegotiatingViewResolver with multiple mediaTypes

    I want my restful server to support both json & xml data mapping - currently I am using the JacksonToJson Serializer for the json conversions - how would I define a xml serializer for the same data...
  2. Replies
    1
    Views
    456

    DefaultMessageListenerContainer instantiation

    I am getting the following error when instantiating the Jms MessageListener from the applicationContext.xml:


    org.springframework.beans.factory.BeanCreationException: Error creating bean with...
  3. Replies
    2
    Views
    335

    Thanks for confirming the functionality

    Thanks for confirming the functionality
  4. Replies
    2
    Views
    335

    Multiple DefaultMessageListenerContainer

    I need to define 2 DefaultMessageListenerContainers in my applicationContext.xml - can they both have the same messageListener defined?

    Basically can one messageListener receive messages from 2...
  5. Replies
    6
    Views
    564

    Thanks alot for all your help - I really...

    Thanks alot for all your help - I really appreciate it
  6. Replies
    6
    Views
    564

    I added closeAsync=false to the brokerURL - as...

    I added closeAsync=false to the brokerURL - as follows:


    <bean id="activeMQConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL"...
  7. Replies
    6
    Views
    564

    Since I am new to Spring I am not quite sure what...

    Since I am new to Spring I am not quite sure what u mean - it gets loaded by default when the web.xml loads the org.springframework.web.context.ContextLoaderListener
  8. Replies
    6
    Views
    564

    DefaultMessageListenerContainer clean stop

    I am getting the following tomcat issue when my web app gets redepolyed:
    SEVERE: The web application [/myApp] appears to have started a thread named [InactivityMonitor Async Task:...
  9. Replies
    12
    Views
    1,240

    Thanks alot for all you help with this - since I...

    Thanks alot for all you help with this - since I am new to spring I appreciate it very much - I ended up going the MessageListenerContainer - works alot better & cleaner like you had advised earlier...
  10. Replies
    12
    Views
    1,240

    I originally used queues & it worked fine but...

    I originally used queues & it worked fine but then I found out that there will be multiple consumers for this message so I have no choice but to use topics.
    I will use the execute then - Do I call...
  11. Replies
    12
    Views
    1,240

    I ended up calling jmsTemplate.receive when the...

    I ended up calling jmsTemplate.receive when the setJmsTemplate gets called on the JMSReceiver instantiation from the applicationContext.xml- this way it establishes a connection, so when messages do...
  12. Replies
    12
    Views
    1,240

    Thanks alot for your help - I see what happens...

    Thanks alot for your help - I see what happens when my application gets deployed my jmsReceiver is not actually added as a topic consumer to ActiveMQ - it only gets registered in activeMQ at the...
  13. Replies
    12
    Views
    1,240

    Heres my jmsReceiver class, do I have to run it...

    Heres my jmsReceiver class, do I have to run it in a separate thread when I call JMSMessageReceiver .getMessages
    public class JMSMessageReceiver {

    protected final Log logger =...
  14. Replies
    12
    Views
    1,240

    using the MessageListener is not ideal fro my...

    using the MessageListener is not ideal fro my environment bec. I only want to get the messages when the user requests it - otherwise I don't need it - so that's wh I need it working synchronously....
  15. Replies
    12
    Views
    1,240

    Synchronous jmsTemplate with topics

    I am trying to get messages from a topic - using JMSTemplate.receive - no messages come back even though I see them by going to the activeMQ admin console? How would I do it if jmsTemplate is not...
  16. Thread: RestTemplate

    by rrr
    Replies
    3
    Views
    710

    Here is the stack trace:...

    Here is the stack trace:
    org.springframework.web.client.ResourceAccessException: I/O error: Unexpected end of file from server; nested exception is java.net.SocketException: Unexpected end of file...
  17. Thread: RestTemplate

    by rrr
    Replies
    3
    Views
    710

    RestTemplate

    I am using the restTemplate object to post to a controller in another web app deployed on tomcat- I keep getting the following error:
    java.net.SocketException: Unexpected end of file from server
    ...
  18. Replies
    2
    Views
    324

    Thanks for your reply - I took the approach of...

    Thanks for your reply - I took the approach of making a rest call - I want to use the RestTemplate but am unable to get it working - would u have any good example to help guide me with this - I want...
  19. Replies
    2
    Views
    324

    2 web applications interacting

    I have 2 web applications developed using Spring V3 deployed on 1 tomcat server - how do I send data from one web application to the other one to process?
Results 1 to 19 of 19