Sorry about all these problems.
Could you raise a JIRA about that, I will improve things as you suggested.
Cheers,
Guillaume Nodet
On 5/23/06, pgodot <[EMAIL PROTECTED]> wrote:
Hi SM Com and Guillaume,
I hope I found my problem. It cames form the fact that my two JBI
container,
client and remote, had the same name, Default name = ServiceMix.
I replace my client code to initialize my DefaultServiceMixClient by :
container = new JBIContainer();
Flow flow = new JMSFlow();
logTech.trace(" JMS Url : " +
((JMSFlow) flow).getJmsURL());
// container.setFlow(flow);
container.setFlowName("jms");
container.setMonitorDeploymentDirectory(false);
container.setMonitorInstallationDirectory(false);
container.setName("client");
container.setRmiPort(1111);
container.init();
container.start();
logTech.trace(" JMS Url : "
+ ((JMSFlow)
container.getFlow()).getJmsURL());
jbi = new
DefaultServiceMixClient(container);
Where I setted a name of the container to "client" (maybe not
recommended).
And everything starting to re-work.
Now quick questions,
For the agent:
Why the name of my agent is not jbi like it's specify in my servicemix.xml
by the attribute id?
Does exist another attribute to set a name of the container with
service.xml
file?
For the client:
Is it possible with the API to change the container name? Do we calculate
it
like the component name something like homework-2333-1148417959725-9:0?
Thanks again for your help and encouragement Guillaume,
Hope we continue to use SM,
Regards,
Phil
--
View this message in context:
http://www.nabble.com/RemoteServiceMixClient+-+EIP+component+-+done+an+IOMEX-t1644809.html#a4531102
Sent from the ServiceMix - User forum at Nabble.com.
--
Cheers,
Guillaume Nodet