Skip to content

Instantly share code, notes, and snippets.

@julianazanelatto
Last active July 11, 2022 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianazanelatto/d9940521eda28253a66eb4148610fc2d to your computer and use it in GitHub Desktop.
Save julianazanelatto/d9940521eda28253a66eb4148610fc2d to your computer and use it in GitHub Desktop.
//declarar as exchanges (main e dlx)
channel.exchangeDeclare(DLX_NAME,"topic");
channel.exchangeDeclare(EXCHANGE_NAME,"topic");
//declarar as filas: consumer, dlx
channel.queueDeclare(DLX_QUEUE,false,false,false,null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment