config.put(TwitterConstants.QUEUE_NAME, queue);
config.put(TwitterConstants.CONSUMER_KEY, TWITTER_CONSUMER_KEY);
config.put(TwitterConstants.CONSUMER_SECRET, TWITTER_CONSUMER_SECRET);
config.put(TwitterConstants.ACCESS_TOKEN, TWITTER_ACCESS_TOKEN);
config.put(TwitterConstants.ACCESS_TOKEN_SECRET, TWITTER_ACCESS_TOKEN_SECRET);
ConnectorServiceConfiguration outconf =
new ConnectorServiceConfiguration(TwitterOutgoingConnectorServiceFactory.class.getName(),
config,
"test-outgoing-with-in-reply-to");
configuration.getConnectorServiceConfigurations().add(outconf);
CoreQueueConfiguration qc = new CoreQueueConfiguration(queue, queue, null, false);
configuration.getQueueConfigurations().add(qc);