Skip to content

Instantly share code, notes, and snippets.

@clemensv
Last active March 11, 2020 14:32
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 clemensv/226f873d5ec5ca1ac35f8e593896f477 to your computer and use it in GitHub Desktop.
Save clemensv/226f873d5ec5ca1ac35f8e593896f477 to your computer and use it in GitHub Desktop.
# Apache Qpid Dispatch Router Copy Route for Azure Service Bus
router {
mode: standalone
id: 92787282663929288982
workerThreads: 4
}
log {
module: DEFAULT
enable: trace+
timestamp: true
}
# Input link from the source queue
autoLink {
address: routeA
externalAddress: queue1
direction: in
connection: sb1
phase: 0
}
# Output link to the target queue
autoLink {
address: routeA
externalAddress: queue2
direction: out
connection: sb2
phase: 0
}
# TLS profile
sslProfile {
name: tlsv12
protocols: TLSv1.2
}
# Source namespace connector
connector {
host: {namespace}.servicebus.windows.net
name: sb1
sslProfile: tlsv12
port: 5671
role: route-container
saslMechanisms: PLAIN
allowRedirect: no
idleTimeoutSeconds: 20
saslUsername: {SAS rule name, must have }
saslPassword: {SAS rule primary key}
}
# Target namespace connector
connector {
host: {namespace}.servicebus.windows.net
name: sb2
sslProfile: tlsv12
port: 5671
role: route-container
saslMechanisms: PLAIN
allowRedirect: no
idleTimeoutSeconds: 20
saslUsername: {SAS rule name, must have }
saslPassword: {SAS rule primary key}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment