public void createService() throws Exception {
// reinitialize configuration from known state
Configuration config = createConfiguration();
// add LoggingFilter to any pipeline that is created
Registry builder = (Registry) config.getBuilder();
builder.alter(ServiceBusContract.class, Client.class,
new Alteration<Client>() {
@Override
public Client alter(String profile, Client instance,
Builder builder, Map<String, Object> properties) {
instance.addFilter(new LoggingFilter());