title: How to report when failover feature is active in JAXWS SOAP?
body: <p>I have a client that is built like this:</p>
  <pre><code>val strategy = new SequentialStrategy()
  strategy.setAlternateAddresses(listOfAddresses)
  
  val feature = new CircuitBreakerFailoverFeature(2, 60000)
  feature.setStrategy(strategy)
  
  val factory = new JaxWsProxyFactoryBean()
  factory.setServiceClass(classOf[MyService])
  factory.setAddress(primaryAddress)
  factory.setFeatures(Lists.newArrayList(feature))
  factory.create().asInstanceOf[MyService]
  </code></pre>
  <p>The problem I have now is that I need to report to monitoring tool when my client is actually went to one of <code>alternative</code> addresses as result of problem with connection to the <code>primaryAddress</code>. But I can't find the way how to detect those switches between addresses (I thought about adding custom interceptors, but I bet there is a better way to do it). What is the correct way of doing so?</p>