camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksey Masny <>
Subject camel-xmpp througth proxy
Date Wed, 23 Dec 2009 09:00:51 GMT

Hello all!

My route:
from("stream:in?promptMessage=You message:

My problem:
At home, without proxy server, this route send message to 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:// <<<
Pattern:InOnly, BodyType:String, Body:mymessage
XmppPrivateChatProducer        DEBUG Creating XmppPrivateChatProducer to
DefaultManagementAgent         DEBUG Registered MBean with objectname:
XmppPrivateChatProducer        DEBUG Starting producer:
ProducerCache                  DEBUG Adding to producer cache with key:
Endpoint[xmpp://] for
DefaultErrorHandler            DEBUG Failed delivery for exchangeId:
2e15772d-07ff-48e7-b720-0708c4aee90e. On delivery attempt: 0 caught:
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", "");
    	System.getProperties().put("proxyPort", "8989");

But message not sended.

I try to set VM parameters when running my route
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.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message