MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  IBM XMS .net 6 on Linux with unmanaged/fullblown/native client

    Posted Thu October 05, 2023 07:39 AM

    Greetings,

    In .net framework 4.7 (WCF service running on Windows Server) I am able to use:

    XMSC.WMQ_CONNECTION_MODE = XMSC.WMQ_CM_CLIENT_UNMANAGE

    If the full blown client has been installed on the Windows server.

    When I try running my app in a Linux based container using debian based mcr.microsoft.com/dotnet/aspnet:6.0 image that has the full blown IBM client runtime installed via dpkg like so in my docker file

    RUN dpkg -i ibmmq-runtime_9.3.3.1_amd64.deb

     I get the following error if I set the above property:

    CWSMQ0008E: XMSC_WMQ_CONNECTION_MODE is not supported in this release. The application has attempted to use a feature or capability that is not supported by the current release of the software. Remove the code that attempts to use this capability or update to a later release of the software if available.

    I am using TLS to connect to my QManager if it makes any difference.... Is it possible for me to reference the managed version NuGet Gallery | IBMXMSDotnetClient 9.3.3.1 but configure it to use the full blown client install instead of the nuget package? Or alternatively can I force it to run the full blown client in managed mode like was possible in .net framework? 



    ------------------------------
    Bjarki Björgúlfsson
    ------------------------------


  • 2.  RE: IBM XMS .net 6 on Linux with unmanaged/fullblown/native client

    Posted Thu October 05, 2023 08:37 AM

    MQ /XMS .NET Standard libraries don't support Unmanaged mode. You will have to use managed mode to use the MQ/XMS .NET Standard libraries for the .NET 6 applications.You could use NugetPackage or Client install to use the MQ/XMS .NET Standard libraries.Following KC link has some information 
    Using IBM MQ classes for XMS .NET



    ------------------------------
    Ram Subba Rao Chalamalasetti
    ------------------------------



  • 3.  RE: IBM XMS .net 6 on Linux with unmanaged/fullblown/native client

    Posted Fri October 06, 2023 04:35 AM

    Thank you for the clarification ♥



    ------------------------------
    Bjarki Björgúlfsson
    ------------------------------