1 Reply Latest reply on Dec 4, 2006 7:15 AM by Mete Atamel

    Two Sync methods

      Is it possible to have one destination with two sync methods, for say two different method calls of the same object? My Tomcat server throws the following error when I attempt to use the destiation below. all works fine if I remove the second sync method.


      - <destination id="Clientes">
      <adapter ref="java-dao" />
      - <properties>
      - <!-- <ClientesDTO>List getClientes(...) used for identity purpose
      - <metadata>
      <identity property="CODCODIGONOTES" />
      - <!-- <ClientesDTO>List searchClientes(...) ignored for identity purpose
      - <network>
      <paging pageSize="200" enabled="true" />
      <throttle-inbound policy="ERROR" max-frequency="500" />
      <throttle-outbound policy="ERROR" max-frequency="500" />
      - <server>
      - <fill-method>
      - <sync-method>
      - <fill-method>
      - <sync-method>


      [2006-11-28 14:19:10,514] ERROR [Thread-1] (log@ApplicationContext.java:675) - StandardWrapper.Throwable
      flex.messaging.config.ConfigurationException: Unable to create service 'flex.data.DataService' for 'data-service' due to the following error: Unexpected multiple values for property 'sync-method'..
      at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java:2 02)
      at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java: 84)
      at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)