this.publisherReference = publisherReference;
}
public void start() throws JMSException {
if( demand ) {
advisor = new ProducerDemandAdvisor(connection, topic);
advisor.setDemandListener(new ProducerDemandListener(){
public void onEvent(ProducerDemandEvent event) {
fireDemandChangeEvent(event.isInDemand());
}
});