[jira] [Closed] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-19 Thread Ian Rowlands (JIRA)


 [ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Rowlands closed QPIDJMS-409.

Resolution: Cannot Reproduce

> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
> Attachments: successful_delayed_delivery.txt
>
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
> {{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
> jmsMessage) -> {}}
> {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{ return jmsMessage;}}
> {{});}}
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Comment Edited] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)


[ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581856#comment-16581856
 ] 

Ian Rowlands edited comment on QPIDJMS-409 at 8/16/18 2:45 AM:
---

I can't easily give a sample - especially as it comes under load.

I've enabled debugging as requested. I've had a look in the log and really 
couldn't see anything much. Maybe I'm missing something.

I've attached a log of a "successful" message send with a delayed delivery 
message being sent. Can you see anything there which shows that the delivery 
was being delayed? If not, I'm not sure where else to go with this.

If you can see the correct parameters which show a delayed delivery, what I'll 
do is then find a case where it fails and attach that too. If you could point 
out where in the trace it is, so I can look for it myself and maybe get a clue 
as to what is happening.

 


was (Author: 204608):
I can't easily give a sample - especially as it comes under load.

I've enabled debugging as requested. I've had a look in the log and really 
couldn't see anything much. Maybe I'm missing something.

I've attached a log of a "successful" message send with a delayed delivery 
message being sent. Can you see anything there which shows that the delivery 
was being delayed? If not, I'm not sure where else to go with this. If you can 
see it, what I'll do is then find a case where it fails.

 

> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
> Attachments: successful_delayed_delivery.txt
>
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
> {{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
> jmsMessage) -> {}}
> {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{ return jmsMessage;}}
> {{});}}
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)


 [ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Rowlands updated QPIDJMS-409:
-
Attachment: successful_delayed_delivery.txt

> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
> Attachments: successful_delayed_delivery.txt
>
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
> {{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
> jmsMessage) -> {}}
> {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{ return jmsMessage;}}
> {{});}}
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)


[ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581856#comment-16581856
 ] 

Ian Rowlands commented on QPIDJMS-409:
--

I can't easily give a sample - especially as it comes under load.

I've enabled debugging as requested. I've had a look in the log and really 
couldn't see anything much. Maybe I'm missing something.

I've attached a log of a "successful" message send with a delayed delivery 
message being sent. Can you see anything there which shows that the delivery 
was being delayed? If not, I'm not sure where else to go with this. If you can 
see it, what I'll do is then find a case where it fails.

 

> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
> {{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
> jmsMessage) -> {}}
> {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{ return jmsMessage;}}
> {{});}}
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)


 [ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Rowlands updated QPIDJMS-409:
-
Description: 
When under system load, the Qpid JMS client doesn't handle scheduled message 
delivery correct - it delivers the message prior to the required time.

When running one request, the scheduling works correctly. The load to reproduce 
this isn't very high (i.e running about 5 of my job processes simultaneously 
seems to trip it up pretty quickly).

I have used different JMS Brokers with the same client code and the same 
problem occurs with both Brokers (see environment).

I am using Spring JMS Template to send the JMS message. The key piece of code 
is something like:

{{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
{{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
jmsMessage) -> {}}
{{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
timeoutMsg.getClass().getSimpleName());}}
{{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
timeoutMsg.getClass().getSimpleName());}}
{{ return jmsMessage;}}
{{});}}

I realise you want more logging details but I'm unsure what would be best to 
log. Please let me know and I'll do so.

 

 

  was:
When under system load, the Qpid JMS client doesn't handle scheduled message 
delivery correct - it delivers the message prior to the required time.

When running one request, the scheduling works correctly. The load to reproduce 
this isn't very high (i.e running about 5 of my job processes simultaneously 
seems to trip it up pretty quickly).

I have used different JMS Brokers with the same client code and the same 
problem occurs with both Brokers (see environment).

I am using Spring JMS Template to send the JMS message. The key piece of code 
is something like:

{{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod)}}

 

I realise you want more logging details but I'm unsure what would be best to 
log. Please let me know and I'll do so.

 

 


> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod);}}
> {{delayedDeliveryjmsTemplate.convertAndSend(queueName, timeoutMsg, (Message 
> jmsMessage) -> {}}
> {{ jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{jmsMessage.setStringProperty(OBJECT_TYPE_FIELD, 
> timeoutMsg.getClass().getSimpleName());}}
> {{ return jmsMessage;}}
> {{});}}
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)


 [ 
https://issues.apache.org/jira/browse/QPIDJMS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian Rowlands updated QPIDJMS-409:
-
Description: 
When under system load, the Qpid JMS client doesn't handle scheduled message 
delivery correct - it delivers the message prior to the required time.

When running one request, the scheduling works correctly. The load to reproduce 
this isn't very high (i.e running about 5 of my job processes simultaneously 
seems to trip it up pretty quickly).

I have used different JMS Brokers with the same client code and the same 
problem occurs with both Brokers (see environment).

I am using Spring JMS Template to send the JMS message. The key piece of code 
is something like:

{{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod)}}

 

I realise you want more logging details but I'm unsure what would be best to 
log. Please let me know and I'll do so.

 

 

  was:
When under system load, the Qpid JMS client doesn't handle scheduled message 
delivery correct - it delivers the message prior to the required time.

When running one request, the scheduling works correctly.

I have used different JMS Brokers with the same client code and the same 
problem occurs with both Brokers (see environment).

I am using Spring JMS Template to send the JMS message. The key piece of code 
is something like:

{{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod)}}

 

I realise you want more logging details but I'm unsure what would be best to 
log. Please let me know and I'll do so.

 

 


> JMS Scheduled Delivery delivers messages before time under load
> ---
>
> Key: QPIDJMS-409
> URL: https://issues.apache.org/jira/browse/QPIDJMS-409
> Project: Qpid JMS
>  Issue Type: Bug
>  Components: qpid-jms-client
>Affects Versions: 0.35.0
> Environment: Application is a Spring Boot application - version 
> 2.0.4.RELEASE
> Qpid JMS Client version is 0.35.0
> Operating system where problem occurs is Windows 10
> I have found this problem using the following different message brokers:
>  * Apache Artemis 2.4.0
>  * Apache Artemis 2.6.2
>  * Apache Qpid Broker 7.0.6
>Reporter: Ian Rowlands
>Priority: Major
>
> When under system load, the Qpid JMS client doesn't handle scheduled message 
> delivery correct - it delivers the message prior to the required time.
> When running one request, the scheduling works correctly. The load to 
> reproduce this isn't very high (i.e running about 5 of my job processes 
> simultaneously seems to trip it up pretty quickly).
> I have used different JMS Brokers with the same client code and the same 
> problem occurs with both Brokers (see environment).
> I am using Spring JMS Template to send the JMS message. The key piece of code 
> is something like:
> {{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod)}}
>  
> I realise you want more logging details but I'm unsure what would be best to 
> log. Please let me know and I'll do so.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPIDJMS-409) JMS Scheduled Delivery delivers messages before time under load

2018-08-15 Thread Ian Rowlands (JIRA)
Ian Rowlands created QPIDJMS-409:


 Summary: JMS Scheduled Delivery delivers messages before time 
under load
 Key: QPIDJMS-409
 URL: https://issues.apache.org/jira/browse/QPIDJMS-409
 Project: Qpid JMS
  Issue Type: Bug
  Components: qpid-jms-client
Affects Versions: 0.35.0
 Environment: Application is a Spring Boot application - version 
2.0.4.RELEASE

Qpid JMS Client version is 0.35.0

Operating system where problem occurs is Windows 10

I have found this problem using the following different message brokers:
 * Apache Artemis 2.4.0
 * Apache Artemis 2.6.2
 * Apache Qpid Broker 7.0.6
Reporter: Ian Rowlands


When under system load, the Qpid JMS client doesn't handle scheduled message 
delivery correct - it delivers the message prior to the required time.

When running one request, the scheduling works correctly.

I have used different JMS Brokers with the same client code and the same 
problem occurs with both Brokers (see environment).

I am using Spring JMS Template to send the JMS message. The key piece of code 
is something like:

{{delayedDeliveryjmsTemplate.setDeliveryDelay(timeoutPeriod)}}

 

I realise you want more logging details but I'm unsure what would be best to 
log. Please let me know and I'll do so.

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org