class GatewayPropertyWriter extends PropertyWriter {

    public void setDefaultRoute(String defaultRouteExpression) {
        if (defaultRouteExpression == null) {
            return;
        }
        CustomAttribute.dg.of(gateway).set(defaultRouteExpression);

        String[] split = defaultRouteExpression.split(" : ");
        this.defaultGatewayId = (split.length == 1) ? split[0] : split[1];
    }

    public  GatewayPropertyWriter(Gateway gateway, VariableScope variableScope);

}