Re: Artemis low message rates leading to timeouts whilst paging

2019-11-10 Thread yw yw
> Currently paging starts to become unacceptable when we reach approx. 2.56 GB of unack'd messages using global-max-size of 6GB and page-size-bytes of -1. Are you using transactional message sends? Page transaction info will be kept on broker side until cleared by consumers. I guess additional tra

Re: Producer failover behaviour

2019-09-16 Thread yw yw
Can you try the url "tcp://artemis:61616?ha=true&reconnectAttempts=-1"? Here -1 means infinite retry. Default reconnect attempts is DEFAULT_RECONNECT_ATTEMPTS=0. ahuhatwork 于2019年9月13日周五 下午11:23写道: > Oh, that's unfortunate. I used the "< raw >" tag using nabble. > > Here is the artemis (2.9) cl

Re: Artemis - Implement ACL programmatically

2019-08-27 Thread yw yw
Yes, it would check every time a client publishes a message or subscribes an address. >From my understanding, SecuritySettingPlugin should meet your requirements. You can save the "securityRepository" passed by "SecuritySettingPlugin:: setSecurityRepository" in your custom SecuritySettingPlugin. W

Re: Artemis - getRemoteAddress returns address starting with /

2019-08-22 Thread yw yw
The method getRemoteAddress of the RemotingConnection returns InetSocketAddress::toString which calls InetAddress::toString. And the comment says: Converts this IP address to a {@code String}. The * string returned is of the form: hostname / literal IP * address. * * If the host name is unresolved

Re: AW: AW: [DISCUSS] OpenTracing in Artemis

2019-08-01 Thread yw yw
Hi! Did you have checked against the latest code? It's ActiveMQServerPlugin, something like that: public interface ActiveMQServerPlugin extends ActiveMQServerBasePlugin, ActiveMQServerConnectionPlugin, ActiveMQServerSessionPlugin, ActiveMQServerConsumerPlugin, ActiveMQServerAddressPlugin, A

Re: Artemis: Cluster client-side discovery & load balancing questions (JBoss EAP resource adapter)

2019-07-23 Thread yw yw
> I'd like to keep things a bit in better order and use just 1 acceptor (=port) here, but still keep the default aceptor in place. But i'd like to still rely on the client-side discovery. Your third party provider of artemis cluster needs to add two cluster-connection in broker.xml, one to discov

Re: JMS Producer Routing type

2019-07-17 Thread yw yw
Hi, Which convertAndSend do you use? If you use the one with destinationName of String type, the pubSubDomain resolves it into queue if false(default) or topic if true. If you use the one with destination of Destination type, it depends on the type you pass, either ActiveMQQueue or ActiveMQTopic.

Re: DR: Queue backup / replay architecture (Artemis)

2019-07-08 Thread yw yw
> Will Artemis store (in journal) 1 copy of the message body and use pointers to refer to that message body in diverted/copied messages? No, the new message is a deep copy. > Artemis divert will change the message-ID. It would be nice to keep the existing message-ID. If the transformer plugin sets

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
d > > > > > > > > On Fri, Jul 5, 2019 at 9:02 AM +0100, "yw yw" wrote: > > > > > > > > > > > Sorry for the ambiguousness. I created a durable lvq where non destructive > is *true*, the consumer received the message and acked

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
structive is true the consumer ack ignored. > > > > > When non destructive is false (default) the consumer ack is honoured. > > > > > There is test cases for this and is used in real use cases. > > > > > Get Outlook for Android > > > > >

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
> > > Behaviour is as expected. > > > > > Get Outlook for Android > > > > > > > > On Fri, Jul 5, 2019 at 2:53 AM +0100, "yw yw" wrote: > > > > > > > > > > > Yes, the last value always wins. > > The docum

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
places and old then it needs the old one is acked to it is removed, this > is the point.Sent from my Samsung Galaxy smartphone. > Original message From: yw yw Date: > 04/07/2019 08:42 (GMT+00:00) To: users@activemq.apache.org Subject: Re: > AMQ 224038 on Last

Re: AMQ 224038 on Last Value Queue

2019-07-04 Thread yw yw
Hi, We have encountered the same problems these days. Right now the JMSNonDestructiveTest passes successfully bcs persistence is disabled which means there are no journal operations. If we enable persistence, the test fails in testNonDestructiveLVQTombstone(). The reproduce step is the same with

Re: Artemis JDBC storage for HA- possible Split-brain?

2019-06-30 Thread yw yw
Do you mean you would use jdbc storage and ha replicaiton? If so, the split-brain issue are still there IMO since storage type is not related to vote mechanism which checks whether node is alive. blue_nekton 于2019年6月29日周六 上午12:46写道: > Hi All, > > We are noticing split-brain issues (Network isol