Results 1 to 2 of 2

Thread: Dynamic serviceURLs - RMI

  1. #1
    Join Date
    Feb 2007
    Location
    San Francisco, CA
    Posts
    8

    Post Dynamic serviceURLs - RMI

    hi,

    We have multiple RMI service URL's. Instead of specifying a static one in the xml config, what can I do?

    Simply extending
    Code:
    RmiProxyFactoryBean
    and override
    Code:
    public void setServiceUrl(String serviceUrl)
    from the abstract class
    Code:
    UrlBasedRemoteAccessor
    ??

    Would appreciate a reply from people who have solved this issue.

    cheers!
    Sumit.

  2. #2

    Default

    I've done something similar with HttpRemoting, I just had to call afterPropertiesSet() after having changed the service URL...

    -Patrick

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •