Create the Environment which will handle multiple connections
import { createEnvironment } from "./environment.js"
const environment = createEnvironment({ host: "localhost", port: 5672, username: "guest", password: "guest" })
// close the environment when the application stops
await environment.close()