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...
Type: Posts; User: rrr; Keyword(s):
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...
I am getting the following error when instantiating the Jms MessageListener from the applicationContext.xml:
org.springframework.beans.factory.BeanCreationException: Error creating bean with...
Thanks for confirming the functionality
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...
Thanks alot for all your help - I really appreciate it
I added closeAsync=false to the brokerURL - as follows:
<bean id="activeMQConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL"...
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
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:...
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...
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...
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...
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...
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 =...
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....
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...
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...
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
...
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...
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?