@Override
	public void addCount(ConnectionsCount count) {

		if (factory != null && countQueue != null)
			try {
				MessageClient.sendMessage(count, countQueue, factory);
			} catch (JMSException e) {
				throw new RuntimeException("can not send message",e);
			}
		else{
			throw new RuntimeException("Not defined factory or queue");
		}

		if (count != null && count.getIp() != null && count.getCount() != null)
			WSClient.callExtCounter(count.getCount(), count.getIp());

	}