Cool. I wasn't aware anybody was doing this except SAPO.

The reason this is undocumented is because it only works in one very  
specific situation.

You're correct, <jid/> is the shared address of all the transport  
instances. <compjid/> is the unique ID for each instance. This  
setting is ignored unless you have <useXCP/> turned on. This is  
because XCP is the only server I'm aware of that allows you to bind  
to one address, but send from another.

---

James



On 12/08/2006, at 12:56 AM, Gonzalo Barrio wrote:

> I wrote a component that connects to the router and do the rewrite  
> tasks. I have a working cluster in this manner with pymsn-t-0.10.
> If I change the <jid> option, the from attribute in every message  
> will be like msn-1.domain.com and so on ...
> But the "from" has to be like msn.domain.com, because if not, the  
> messages will go to nowhere.
>
> Can you explain me the way that is working the cluster with the  
> actual pymsn version?
>
> Thanks
> Gonzalo Barrio Linares
>
>
>
>
> James Bunton wrote:
>> Are you using the compjid option? Unless you have a custom  
>> component written to stand in front of the PyMSNt instances then  
>> you shouldn't be.
>>
>> Basically just set the <jid/> option differently for each transport.
>>
>> ---
>>
>> James
>>
>>
>>
>> On 11/08/2006, at 7:38 AM, Gonzalo Barrio wrote:
>>
>>> I was using the 0.10 version and I have a cluster of 3 msn  
>>> instances.
>>> With the new pymsn the cluster functionality is not working I use  
>>> the same configuration under 0.10 and works, when I run the  
>>> 0.11.1 it logs as msn.domain.com not msn-1.domain.com and the  
>>> rest (msn-2 and msn-3) never can connect to the server.
>>>
>>> How is the cluster functionality now in 0.11.1 or 0.11.2.... ?
>>> Thanks in advance.
>>>
>>> Gonzalo Barrio
>>>
>>> James Bunton wrote:
>>>> I've merged some changes into trunk.
>>>>
>>>> Changes since 0.11.1:
>>>> * Fix to the getAttribute exception
>>>> * Use twistfix library for twisted compatibility.
>>>> * Fixed licensing issues for the Debian packager.
>>>> * Fixed an XDB hash problem.
>>>> * Added python-imaging notes to docs
>>>>
>>>> I'm planning on releasing this in a week if nobody has any  
>>>> trouble with it.
>>>>
>>>> You can get a tarball from my website at http://delx.cjb.net/pymsnt
>>>>
>>>> If your svn checkout is still using svn:// URLs then you'll need  
>>>> to run this command first
>>>> svn switch --relocate svn://delx.cjb.net/ http://delx.cjb.net/ 
>>>> svn/pymsnt/
>>>>
>>>> Then run these
>>>> svn switch http://delx.cjb.net/svn/pymsnt/trunk
>>>> svn up
>>>>
>>>> This version has an up to date TODO list :)
>>>>
>>>> ---
>>>>
>>>> James
>>>> _______________________________________________
>>>> py-transports mailing list
>>>> [email protected]
>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>>
>>>
>>>
>>> _______________________________________________
>>> py-transports mailing list
>>> [email protected]
>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to