[
https://issues.apache.org/jira/browse/AMQNET-589?focusedWorklogId=276415&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-276415
]
ASF GitHub Bot logged work on AMQNET-589:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Jul/19 21:05
Start Date: 14/Jul/19 21:05
Worklog Time Spent: 10m
Work Description: cjwmorgan-sol commented on pull request #4: AMQNET-589:
Failover implementation
URL: https://github.com/apache/activemq-nms-amqp/pull/4#discussion_r303261218
##########
File path: src/NMS.AMQP/Message/Facade/INmsMessageFacade.cs
##########
@@ -15,47 +15,28 @@
* limitations under the License.
*/
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Apache.NMS;
-
-namespace Apache.NMS.AMQP.Message.Cloak
+namespace Apache.NMS.AMQP.Message.Facade
{
- /// <summary>
- /// Provider specific Cloak Interface from provider implementation.
- /// </summary>
- interface IMessageCloak : IMessage
+ public interface INmsMessageFacade
{
- byte[] Content
- {
- get;
- set;
- }
-
- bool IsBodyReadOnly { get; set; }
-
- bool IsPropertiesReadOnly { get; set; }
-
- bool IsReceived { get; }
-
- IMessageCloak Copy();
-
- object GetMessageAnnotation(string symbolKey);
-
- void SetMessageAnnotation(string symbolKey, object value);
-
- object GetDeliveryAnnotation(string symbolKey);
-
- void SetDeliveryAnnotation(string symbolKey, object value);
-
+ NmsMessage AsMessage();
+ void ClearBody();
int DeliveryCount { get; set; }
-
int RedeliveryCount { get; set; }
-
- MessageAcknowledgementHandler AckHandler { get; set; }
-
+ void OnSend(TimeSpan producerTtl);
+ string NMSMessageId { get; set; }
+ IPrimitiveMap Properties { get; }
+ string NMSCorrelationID { get; set; }
+ IDestination NMSDestination { get; set; }
+ TimeSpan NMSTimeToLive { get; set; }
+ MsgDeliveryMode NMSDeliveryMode { get; set; }
+ MsgPriority NMSPriority { get; set; }
+ bool NMSRedelivered { get; set; }
+ IDestination NMSReplyTo { get; set; }
+ DateTime NMSTimestamp { get; set; }
+ string NMSType { get; set; }
+ DateTime Expiration { get; set; }
+ double JmsMsgType { get; }
Review comment:
Before I added the comment. I took a look at the qpid code which does a cast
a to signed "byte" type on the annotation value and I verified the UnsignedByte
class from proton can not be cast to "byte". However I have not tried to
receive a message sent from the amqp provider to a qpid jms app yet.
I'm definitely in favour for a .net to java check.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 276415)
Time Spent: 6h (was: 5h 50m)
> NMS AMQP Failover implementation
> --------------------------------
>
> Key: AMQNET-589
> URL: https://issues.apache.org/jira/browse/AMQNET-589
> Project: ActiveMQ .Net
> Issue Type: Improvement
> Components: ActiveMQ, AMQP, NMS
> Affects Versions: 1.8.0
> Reporter: Krzysztof Porebski
> Priority: Major
> Time Spent: 6h
> Remaining Estimate: 0h
>
> Implement failover in NMS AMQP the same way as it is implemented in QpidJMS.
> This will involve some major rework, as current design is too rigid to
> introduce this feature.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)