I don't see why it would not work.
What's the problem actually ?
On 11/12/06, Christian Schneider <[EMAIL PROTECTED]> wrote:
I have managed to get my config running. I created a broker in the
receiver program and connected receiver and sender to the broker directly:
BrokerFactoryBean bfb = new BrokerFactoryBean(new
ClassPathResource("/broker.xml"));
bfb.afterPropertiesSet();
BrokerService broker = bfb.getBroker();
broker.start();
...
container.setFlowName("jms?jmsURL=tcp://"+brokerServer+":61216");
My next step is to call a Jsr181 Service the same way. With the same
setup as above it didn“t work. Is there any difference between
a pojo service and a normal Sender / Receiver setup? That means should
the cluster setup I chose above also work for a Jsr181 Service?
Best regards
Christian
Guillaume Nodet schrieb:
> The default configuration for the jms flow use UDP multicast.
> Maybe you have a firewall which does not allow UDP packets.
>
> On 11/12/06, Christian Schneider <[EMAIL PROTECTED]> wrote:
>> I have set up a small example of a sender and a receiver in two
>> different servicemix containers using a jms flow.
>>
>> When I run the two on the same machine the sender can communicate with
>> the receiver. But when I run them on two different machines in the same
>> subnet I get an error message:
>>
>> 01:46:04,578 WARN [NetworkConnector] Could not start network bridge
>> between: vm://peer-wschris-2808-1163292341312-0-0?network=true and:
>> tcp://notebook:1849 due to: java.net.ConnectException: Connection timed
>> out: connect
>> 01:46:04,578 DEBUG [NetworkConnector] Start failure exception:
>> java.net.ConnectException: Connection timed out: connect
>> java.net.ConnectException: Connection timed out: connect
>>
>> Any idea what I am doing wrong?
>>
>> Many thanks in advance
>>
>> Christian
>>
--
Christian Schneider
---
http://www.liquid-reality.de
--
Cheers,
Guillaume Nodet