You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Brian Cole <bc...@tripwire.com> on 2016/09/21 00:09:17 UTC
Re: ActiveMQ NMS and the new .NET Core
I think it would be very nice to have the NMS libraries work with .Net Core.
I sadly learned today that Mono does not support TLS 1.2. As TLS 1.2 is
required for us, Mono is not an avenue that provides Linux support in our
case.
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-and-the-new-NET-Core-tp4714548p4716675.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: ActiveMQ NMS and the new .NET Core
Posted by Brian Cole <bc...@tripwire.com>.
I ran the Portability tool against Apache.NMS.ActiveMQ.dll version 1.7.2.4108
and the tool flagged 22 issues. The json output is pasted below. It doesn't
look like it works out of the box.
{
"SubmissionId": "2568e45e-2fef-4789-9906-494193cbe4bf",
"ApplicationName": null,
"CatalogLastUpdated": "2016-09-22T14:13:55.4777618+00:00",
"MissingDependencies": [
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId":
"M:System.Threading.Thread.set_Priority(System.Threading.ThreadPriority)",
"TypeDocId": "T:System.Threading.Thread",
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId":
"M:System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int64,System.Int64)",
"TypeDocId": "T:System.Threading.Timer",
"RecommendedChanges": "Use
System.Threading.Timer.#ctor(System.Threading.TimerCallback,System.Object,System.Int32,System.Int32).",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Net.WebClient.#ctor",
"TypeDocId": "T:System.Net.WebClient",
"RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Net.WebClient.DownloadString(System.String)",
"TypeDocId": "T:System.Net.WebClient",
"RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.AppDomain.GetAssemblies",
"TypeDocId": "T:System.AppDomain",
"RecommendedChanges": "Remove usage.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "T:System.Threading.ThreadInterruptedException",
"TypeDocId": null,
"RecommendedChanges": "",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Net.Dns.GetHostEntry(System.String)",
"TypeDocId": "T:System.Net.Dns",
"RecommendedChanges": "",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "T:System.Threading.ThreadAbortException",
"TypeDocId": null,
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Threading.Thread.Interrupt",
"TypeDocId": "T:System.Threading.Thread",
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "T:System.Net.WebClient",
"TypeDocId": null,
"RecommendedChanges": "Not available in .NET Core - use HttpClient API
instead.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "T:System.Threading.ThreadPriority",
"TypeDocId": null,
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId":
"M:System.Security.Cryptography.X509Certificates.X509Certificate.GetRawCertData",
"TypeDocId":
"T:System.Security.Cryptography.X509Certificates.X509Certificate",
"RecommendedChanges": "",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "System, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId":
"M:System.Security.Cryptography.X509Certificates.X509Store.Close",
"TypeDocId":
"T:System.Security.Cryptography.X509Certificates.X509Store",
"RecommendedChanges": "Use Dispose() instead.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Threading.Thread.ResetAbort",
"TypeDocId": "T:System.Threading.Thread",
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId": "M:System.Threading.Thread.Abort",
"TypeDocId": "T:System.Threading.Thread",
"RecommendedChanges": "Portable code should not rely on COM apartment
semantics, and so should avoid this type.",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
},
{
"DefinedInAssemblyIdentity": "mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089",
"MemberDocId":
"M:System.Threading.Timer.Dispose(System.Threading.WaitHandle)",
"TypeDocId": "T:System.Threading.Timer",
"RecommendedChanges": "",
"SourceCompatibleChange": "",
"TargetStatus": [
null
]
}
],
"UnresolvedUserAssemblies": [
"Apache.NMS, Version=1.7.1.3894, Culture=neutral,
PublicKeyToken=82756feee3957618",
"Ionic.Zlib, Version=1.9.1.8, Culture=neutral,
PublicKeyToken=edbe51ad942a3f5c"
],
"Targets": [
".NET Core App,Version=v1.1"
],
"BreakingChanges": [],
"BreakingChangeSkippedAssemblies": []
}
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-and-the-new-NET-Core-tp4714548p4716814.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: ActiveMQ NMS and the new .NET Core
Posted by Jim Gomes <jg...@apache.org>.
It's likely that it does work on .NET Core. Unfortunately, I can't get .NET
Core to work on my machine, since I don't use the specific version of
Ubuntu Linux that is required. I run Debian Linux. Until Microsoft provides
a version of .NET Core that runs on multiple distros, the supported use
cases will be very low.
On Tue, Sep 20, 2016, 8:47 PM Brian Cole <bc...@tripwire.com> wrote:
> I think it would be very nice to have the NMS libraries work with .Net
> Core.
> I sadly learned today that Mono does not support TLS 1.2. As TLS 1.2 is
> required for us, Mono is not an avenue that provides Linux support in our
> case.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-and-the-new-NET-Core-tp4714548p4716675.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>