Skip to content

rh-messaging/cli-netlite

Repository files navigation

README

Build Status

Description

Compilation

Cygwin environment is recommended for compilation on Windows machines.

With .NET Core

  1. Open a browser and log in to the Red Hat Customer Portal Product Downloads page at access.redhat.com/downloads.
  2. Locate the Red Hat AMQ Clients entry in the INTEGRATION AND AUTOMATION category.
  3. Click Red Hat AMQ Clients. The Software Downloads page opens.
  4. Download latest AMQ Clients .NET Core .zip file and unzip it.
  5. Clone cli-netlite repo.
  6. Create DLLs folder inside cli-netlite repo.
  7. Locate AMQP.dll file inside unzipped .NET Core client and copy it inside DLLs folder.
  8. Run build-netcore.sh.
  9. Built binary files are located inside dist/netcore.

With .NET Framework

  1. Open a browser and log in to the Red Hat Customer Portal Product Downloads page at access.redhat.com/downloads.
  2. Locate the Red Hat AMQ Clients entry in the INTEGRATION AND AUTOMATION category.
  3. Click Red Hat AMQ Clients. The Software Downloads page opens.
  4. Download latest AMQ Clients .NET .zip file and unzip it.
  5. Clone cli-netlite repo.
  6. Create DLLs folder inside cli-netlite repo.
  7. Locate Amqp.net.dll file inside unzipped .NET client and copy it inside DLLs folder.
  8. Run build-netlite.sh
  9. Built binary files are located inside dist/netlite.

Using

Using cmd client

> cli-netlite-sender.exe --broker "username:password@localhost:5672" --address "queue_test" --count 2 --msg-content "text message" --log-msgs dict
> cli-netlite-receiver.exe --broker "username:password@localhost:5672" --address "queue_test" --count 2 --log-msgs dict

Contributors

License

License