public class TwitterStatusProcessor extends Object implements org.apache.camel.Processor
Constructor and Description |
---|
TwitterStatusProcessor(Config config)
Instantiates a new twitter status processor.
|
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.camel.Exchange exchange) |
static String |
translateTwitterStatus(twitter4j.Status status)
Translate twitter status.
|
public TwitterStatusProcessor(Config config)
config
- the configpublic void process(org.apache.camel.Exchange exchange) throws Exception
process
in interface org.apache.camel.Processor
Exception
public static String translateTwitterStatus(twitter4j.Status status)
status
- the statusCopyright © 2016. All rights reserved.