Re: Re: [ANN] XINS 1.3 supports XML-RPC

Ernst de Haan <[email protected]>
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
Paul,


> Let's take a small example: I want to register, at run-time, a new
> object (implementing some API known in advance) under a given URL...
> An example would be a publish-session (initted by another WS-call) where
> upload-messages can be collected from.

I'm not sure I understand you correctly. This is what I think you mean:
- You have a running XINS application that potentially connects to a
variety of services, but at least to one service, called
'publish-session'.
- You would like to add a new URL for calling this service, at
run-time, without restarting your application.

If this is what you want, XINS is your answer :) Indeed, if you have a
running XINS service, just edit the runtime configuration file and
edit the property that specifies the back-ends for a certain service.
So in the example of the 'order' service, you can just change the
following:

capis.order=service, http://apiserver1.localdomain/order/, 3000

into something like this:

capis.order=group, random, order1, order2
capis.order.order1=service, http://apiserver1.localdomain/order/, 3000
capis.order.order2=service, http://apiserver2.localdomain/order/, 2000

The runtime configuration file should be automatically reloaded. By
default, the file is automatically checked for changes every 60
seconds. You can change this by changing the
"org.xins.server.config.reload" property in the runtime config file.
Change it to "5" to check the file every 5 seconds.

For more information on client-side load-balancing and fail-over, see
the user guide, section "Managing load balancing and fail over":
http://xins.sourceforge.net/docs/ar01s13.html

Kind regards,


Ernst


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.