_lock.release();
}
}
private void send() {
DistributionSpecification distributionSpec = getDistributor().getDistributionSpec();
LiveDataValueUpdateBean liveDataValueUpdateBean = new LiveDataValueUpdateBean(
_lastSequenceNumber,
distributionSpec.getFullyQualifiedLiveDataSpecification(),
_cumulativeDelta.getLastKnownValues());
s_logger.debug("{}: Sending Live Data update {}", this, liveDataValueUpdateBean);
FudgeMsg fudgeMsg = LiveDataValueUpdateBeanFudgeBuilder.toFudgeMsg(new FudgeSerializer(_fudgeContext), liveDataValueUpdateBean);
String destinationName = distributionSpec.getJmsTopic();
final byte[] bytes = _fudgeContext.toByteArray(fudgeMsg);
_jmsConnector.getJmsTemplateTopic().send(destinationName, new MessageCreator() {
@Override
public Message createMessage(Session session) throws JMSException {