Thanks for the reply Peter,
Sorry if I am being obtuse but how would you go about setting the errorHandler. I think I need to spend some time to understand the whole spring beans injection etc!
I have one service called NotifyServerService, which is publishing messages using rabbit send (I also have a consumer in a different app which needs the same handling). Would you place it in resources.xml like such:
I assume im kinda on the right tracks but i need to use the connectionFactory from the plugin and just add a listener to it. If i remove the connectionFactory line it complains that there is no connectionFactory.
connectionFactory = ref("rabbitMQConnectionFactory")
errorHandler = ref("myNewErrorHandler")
//Failed to start bean 'notifyServerService_MessageListenerContainer'; nested exception is org.springframework.amqp.UncategorizedAmqpException: java.lang.IllegalArgumentException: Queue //name must not be null.
Thanks for the help