if ( body.getSubscribe( ).getDelivery( ).getMode( ) != null )
{
delivery = new java.net.URI( body.getSubscribe( ).getDelivery( ).getMode( ) );
}
Subscription subscription = sH.create( filter, expires, delivery );
subscription.setNotificationConsumer( new ForwardConsumer( notifyto ) );
subscription.setSubscriptionEndConsumer( new ForwardEndConsumer( endto ) );
//check if topic expression
// if(filter instanceof TopicFilter == true){