[
https://issues.apache.org/jira/browse/AMQNET-631?focusedWorklogId=376131&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-376131
]
ASF GitHub Bot logged work on AMQNET-631:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jan/20 08:48
Start Date: 23/Jan/20 08:48
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on issue #11: AMQNET-631:
Restore session extensions api
URL: https://github.com/apache/activemq-nms-api/pull/11#issuecomment-577582900
But it would have been broken for them as soon as they move on from 3.5
(this wasnt a change when netstd support added) its always been intended to be
removed after 3.5 its a legacy
----------------------------------------------------------------
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: 376131)
Time Spent: 50m (was: 40m)
> extension methods missing in 1.8.0 e.g. SessionExtensions.GetDestination
> ------------------------------------------------------------------------
>
> Key: AMQNET-631
> URL: https://issues.apache.org/jira/browse/AMQNET-631
> Project: ActiveMQ .Net
> Issue Type: Bug
> Components: NMS
> Affects Versions: 1.8.0
> Environment: Windows / .NET Framework 4.x
> Reporter: Bruce Dodson
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> After updating NMS to 1.8.0 in my project, I am getting build errors
> indicating that the GetDestination method is not available on ISession.
> This method is defined in the SessionExtensions class, but it is
> conditionally included only if the symbol MONO or NET_3_5 is defined.
> This symbol must have been defined previously, but is now omitted as part of
> the cleanup that was done for 1.8.
> Perhaps the extension methods could be defined for any supported version of
> .NET at this point, assuming .NET < 3.5 is no longer supported by the project
> at all?
> The extension method simply delegates to SessionUtil.GetDestination, which is
> exposed to public as well, so to work around the issue for my immediate need
> I just called that directly. However, the extension methods should still be
> provided as before, rather than have a breaking change.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)