I've already got the client tests doing some of the cases being said
not to work, they arent marked durable. I also ran one of them against
the broker and the message transited the broker as non durable, so any
classification as persistent is happening inside the broker.

On Fri, 26 Apr 2019 at 10:20, Gordon Sim <[email protected]> wrote:
>
> Run your test with env var PN_TRACE_FRM=1, ideally for a single message.
> Then copy out the the line for the 'transfer' frame. That will show
> whether the message is marked as durable on the wire. If it is not, then
> it is a broker issue as Robbie suggested.
>
> On 26/04/2019 5:34 am, Hardik Jethava wrote:
> > Hi,
> >
> > I noticed that attachment didn't work in previous email, hence uploaded it 
> > to Dropbox. Below is the link for same:
> > https://www.dropbox.com/s/xniu22wohne4jp4/LoadTest_New_Gradle.zip?dl=0
> >
> > Regards,
> > Hardik
> >
> > On 4/26/19, 9:59 AM, "Hardik Jethava" <[email protected]> wrote:
> >
> >      Thanks Robbie and Jeremy for your quick response.
> >
> >      I tried with below versions of ActiveMQ Broker:
> >      - 5.14.4
> >      - 5.15.9
> >
> >      I can see this issue with both versions of Broker when I use Qpid JMS 
> > client v0.20.0 onwards.
> >
> >      Also, I am attaching the sample utility that I have written to 
> > simulate the issue. In this Utility:
> >      - LoadTest.java is main class.
> >      - Messages are getting published to ActiveMQ as part of 
> > ProducerThread.java
> >      - I have shown example of all four combination (i.e. Priority and 
> > Non-Priority with and without TTL with Delivery mode to "Non Persistent" 
> > for all 4 cases), In this case I can see "Non Persistent" on ActiveMQ 
> > console only when I set TTL to 0 for Non-Priority(Default priority) 
> > messages where as for other 3 cases it publishes messages as Persistent.
> >
> >      Let me know if you need more details.
> >
> >      Regards,
> >      Hardik
> >
> >      On 4/25/19, 6:57 PM, "Robbie Gemmell" <[email protected]> wrote:
> >
> >          Sent by an external sender
> >          ------------------------------
> >
> >          Responses go to the mailing list, as noted on the discussion page
> >          http://qpid.apache.org/discussion.html if you dont join the list 
> > youll
> >          need to use the archive/forum interfaces also detailed there. I
> >          already responded to your post earlier.
> >
> >          Robbie
> >
> >          On Thu, 25 Apr 2019 at 13:53, Hardik Jethava <[email protected]> 
> > wrote:
> >          >
> >          > Let me know if I should post this question somewhere else(may be 
> > some other email address). Thanks!!
> >          >
> >          > From: Hardik Jethava <[email protected]>
> >          > Date: Thursday, April 25, 2019 at 2:15 PM
> >          > To: "[email protected]" <[email protected]>
> >          > Subject: Message delivery mode automatically changes to 
> > "Persistent"
> >          >
> >          > Hi Team,
> >          >
> >          > We are using Qpid JMS 0.37.0 Library(Java) for publishing and 
> > consuming messages to ActiveMQ. With that when we try to publish message to 
> > ActiveMQ using producer.send(…) and set Delivery Mode to Non Persistent, in 
> > that case when messages gets published to ActiveMQ, Persistence is set to 
> > “Persistent” instead of “Non Persistent”. Same thing was working fine with 
> > Qpid JMS 0.11.1 Library.
> >          >
> >          > In our case we are creating Anonymous producers and we use them 
> > to publish message to particular destination with Proper delivery mode, 
> > Priority and TTL using 
> > this<https://docs.oracle.com/javaee/7/api/javax/jms/MessageProducer.html#send-javax.jms.Destination-javax.jms.Message-int-int-long->
> >  API.
> >          >
> >          > Additional observation:
> >          >
> >          >   *   If we set Priority(i.e. >=5) on producer in that case even 
> > if I set delivery mode to “Non Persistent”, message is getting published as 
> > “Persistent”.
> >          >   *   If we keep default priority(i.e. 4) and set TTL on 
> > producer in that case even if I set delivery mode to “Non Persistent”, 
> > message is being sent as “Persistent”.
> >          >
> >          > Note: Both of the above mentioned cases works fine with Qpid JMS 
> > 0.11.1 library((i.e. Messages gets published as “Non Persistent”) but not 
> > with Qpid JMS 0.20.0 onwards.
> >          >
> >          > Can you please let me know why message persistence doesn’t work 
> > properly for Priority messages and any non-priority message having TTL with 
> >  Qpid JMS 0.20.0 onwards?
> >          >
> >          > Regards,
> >          > Hardik
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to