Hi Alexey,

XMPP is used for connecting to IRC based endpoints. Are you sure that this
is allowed at your company. Most companies block these ports to prevent this
exact kind of communication from taking place.

Also, is port 8989 available for you. I hope no other process has locked up
this port :).

Cheers,

Ashwin...


Aleksey Masny wrote:
> 
> Hello all!
> 
> My route:
> from("stream:in?promptMessage=You message:
> ").to("xmpp://[email protected]/[email protected]?password=xxxxxx");
> 
> My problem:
> At home, without proxy server, this route send message to
> [email protected] sucessfull.
> But at office computer, with proxy server, xmpp component throw exception
> after try to connect, and message not send.
> 
> Tracer                         INFO  2e15772d-07ff-48e7-b720-0708c4aee90e
> >>> (route1) from(stream://in?promptMessage=You message: ) -->
> xmpp://[email protected]/[email protected]?password=xxxxxx <<<
> Pattern:InOnly, BodyType:String, Body:mymessage
> XmppPrivateChatProducer        DEBUG Creating XmppPrivateChatProducer to
> participant [email protected]
> DefaultManagementAgent         DEBUG Registered MBean with objectname:
> org.apache.camel:context=masny/camelContext,type=producers,name=XmppPrivateChatProducer(0x14627a)
> XmppPrivateChatProducer        DEBUG Starting producer:
> Producer[xmpp://[email protected]/[email protected]?password=xxxxxx]
> ProducerCache                  DEBUG Adding to producer cache with key:
> Endpoint[xmpp://[email protected]/[email protected]?password=xxxxxx] for
> producer:
> Producer[xmpp://[email protected]/[email protected]?password=xxxxxx]
> DefaultErrorHandler            DEBUG Failed delivery for exchangeId:
> 2e15772d-07ff-48e7-b720-0708c4aee90e. On delivery attempt: 0 caught:
> java.lang.NullPointerException
> DefaultErrorHandler            DEBUG This exchange is not handled so its
> marked as failed: Exchange[Message: mymessage]
> 
> I try to set proxy before init Camel
>     public static void main(String... args) throws Exception {
>       
>       System.getProperties().put("proxySet", "true");
>       System.getProperties().put("proxyHost", "127.0.0.1");
>       System.getProperties().put("proxyPort", "8989");
>               
>       Main.main(args);
>     }
> 
> But message not sended.
> 
> I try to set VM parameters when running my route
> -DproxyHost="osaka.mti.net"
> -DproxyPort=3128
> Yes, message not sended also.
> 
> How settings proxy for camel-xmpp component?
> 
> For example, in camel-http component have own proxy settings.
> Sorry my English.
> 


-----
--- 
Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence 
Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- 
+1-972-304-9084 (Office) 
+1-972-971-1700 (Mobile) 
---- 
Blog: http://opensourceknowledge.blogspot.com/


-- 
View this message in context: 
http://old.nabble.com/camel-xmpp-througth-proxy-tp26897637p26905065.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to