public static void main(String[] args) throws InterruptedException {
final IrcConfiguration config = new IrcConfiguration("irc.codehaus.org", "camel-irc", "Camel IRC Component", "#camel-test");
final IRCConnection conn = new IRCConnection(config.getHostname(), config.getPorts(), config.getPassword(), config.getNickname(), config.getUsername(), config.getRealname());
conn.addIRCEventListener(new IRCEventAdapter() {
@Override
public void onRegistered() {
super.onRegistered();
System.out.println("onRegistered");