Thanks for the response. I've just seen I can do what I need for now using a singleton to hold the values before instantiating the beans, and referencing the singleton in the bean. But I will also...
Type: Posts; User: eazynow; Keyword(s):
Thanks for the response. I've just seen I can do what I need for now using a singleton to hold the values before instantiating the beans, and referencing the singleton in the bean. But I will also...
Hi. Yes I have, but that would require a property file, right?
I actually want the values to be passed in via the class that instantiates the ApplicationContext, as it may store properties in a...
Hi there,
I currently have my factory etc declared in an annotated class which is loaded into an ApplicationContext object. i.e.
context = new AnnotationConfigApplicationContext(MQConfig.class);...
As part of the client messaging utility I'm writing, I want clients to be able to list their current bindings in order to decide if they want to remove existing ones. The queues they use are durable...
Hi,
I'm writing a small utility jar for messaging that we can easily use in our other apps. It'll allow apps to easily publish and subscribe without knowing any of the details (which will be in...
For some weird reason I'd switched off the persistence. All good now though. Thanks.
Hi,
I'm trying to see how to send a persistent message using spring amqp. Looking at the rabbitmq documentation it seems that this is at a message level as a property on the message, however I can't...
Thanks Mark - that did it!
When I saw immediate publish I was assuming that it was talking about when to send the message from the app to the exchange. But as you rightly said, changing that...
Hi,
I'm writing a client that publishes messages to a topicExchange, and another clients that bind the exchange to their own queue and receive relevant messages fine. (these will be one client soon...
I think I may have just found the answer myself actually (always the same just after you post a question!).
Am I right in thinking I get a reference to AmqpAdmin from the context bean and declare...
Hi,
I've got a spring amqp based project I've setup that uses annotation configuration extending from abstractrabbitfactory to declare all the usual things (queue, exchange,...