Hi suman, What version of hedwig is this? trunk? What do the logs say? You should find them in hedwig-server/logs if you are using trunk and start the server with hedwig-daemon.sh, otherwise they should be printed to the console.
-Ivan
> HedWigClient client = new HedwigClient(conf)
>
> Subscriber sub = client.getSubscriber()
>
> if(!sub.hasSubscription(topic, subscription)) {
> sub.subscriber(topic, subscription, CreateOrAttach.CREATE_OR_ATTACH)
> }
