I have a problem creating durable consumers and producers with ActiveMQ-CPP and stomp protocol. I am trying to connect to HornetQ using stomp, and capable of sending and receiving messages in non-durable state. I tried changing the producer to durable by setting its delivery mode to persistent along with CMSDeliveryMode of messages as well, and creating a DurableConsumer instead of a normal consumer. But when I looked at JBoss JMX-Console, both of them were considered non-durable (messages are categorized as non-durable, and consumers are subscribed as non-durable as well).
我甚至尝试了一体化测试,在20条电文中,只有10条(当消费者活跃时发出的电文)。 因此,测试失败。
由于一体化测试确实是徒劳的,我猜测,它必须同积极的MQ-cpp或Stomp配置,而不是守则。 我没有任何东西能够持久?
预支
Sami