There is support. You need to add a key/value pair, "x-ha-policy" -> "all", to the queue declaration parameters.
Here is the scala
class PimpedAmqpAdmin(admin: AmqpAdmin) {
import PimpMyAmqp._
def declareQueueForSharing(queueName: String): Queue = {
val q = new Queue(queueName, true, false, false, queueDeclarationArgs)
admin.declareQueue(q)
q
}
...
}
object PimpMyAmqp {
val haPolicyArg = "x-ha-policy" -> "all"
val queueDeclarationArgs: java.util.Map[String, AnyRef] = Map(haPolicyArg)
implicit def pimpMyAmqpAdmin(a: AmqpAdmin) = new PimpedAmqpAdmin(a)
}
See my thread though
http://forum.springsource.org/showth...ection-failure