Forum Discussion
jprice_46912
Oct 30, 2014Nimbostratus
XML content based routing help
I'm trying to get some XML content based routing working, but having some difficulty. Hoping someone might help me out here.
Here's my xml profile:
profile xml {
defaults from xml
xpath...
jprice_46912
Oct 30, 2014Nimbostratus
profile xml name {
defaults from xml
xpath queries "//FirmID"
}
when XML_CONTENT_BASED_ROUTING {
log local0. "XML: $XML_values(0)"
switch $XML_values(0) {
"199968" {
log local0. "send to x.x.x.x"
node x.x.x.x 443
}
"199905" {
log local0. "send to y.y.y.y"
node y.y.y.y 443
}
default {
log local0. "default send to z.z.z.z"
node z.z.z.z 443
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects