qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPIDIT-105) Getting started with AMQP.Net Lite in Fedora
Date Fri, 10 Nov 2017 21:48:00 GMT
Chuck Rolke created QPIDIT-105:

             Summary: Getting started with AMQP.Net Lite in Fedora
                 Key: QPIDIT-105
                 URL: https://issues.apache.org/jira/browse/QPIDIT-105
             Project: Apache QPID Interoperability Test Suite
          Issue Type: New Feature
          Components: .Net Lite Shim
    Affects Versions: 0.1.0
         Environment: Fedora 25
mono 4.4.2
            Reporter: Chuck Rolke

h4. Introduction

With package mono version 4.4.2 installed on Fedora the system is capable of compiling and
running the AMQP.Net Lite shim tests. The remaining part of the puzzle is acquiring a pre-compiled
AMQP.Net Lite executable library. Here's one solution.

This note is not a feature request so much as it is a blog about one way to do it.

h4. Fetch AMQP.Net Lite 2.0.0 from NuGet

Saved as file *get-lite.sh* in the top level directory it may be dot sourced to pick up the
definition of AMQPNETLITE_LIB_DIR.

# file: get-lite.sh

if [[ ! -d $litedir ]]; then

    mkdir $litedir
    cd    $litedir

    wget https://www.nuget.org/api/v2/package/AMQPNetLite/2.0.0
    mv    2.0.0 amqpnetlite.2.0.0.nupkg
    unzip       amqpnetlite.2.0.0.nupkg

    cd ..

export AMQPNETLITE_LIB_DIR=`pwd`/$litedir/lib/net45


.h4 Build qpid-interop-test including AMQP.Net Lite

Include the Lite library definition in the CMake command line


Expect confirmation that the Lite library was picked up by CMake


h4. Run test with the AMQP.Net Lite shims

Define the library location and specify the shims.

export AMQPNETLITE_LIB_DIR=${QPID_INTEROP_TEST_HOME}/amqpnetlite-lib-dir/lib/net45

./src/python/qpid_interop_test/amqp_types_test.py \
    --include-shim ProtonCpp \
    --include-shim ProtonPython \
    --include-shim AmqpNetLite 

h4. Further integration

This should get you started with the AMQP.Net Lite library. I've tried a few things to auto-detect
the library and use it if present. None of those attempts is yet worthy.

This message was sent by Atlassian JIRA

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

View raw message