/** * Update this filter with this new information. * Override this to do something if there is a remote version of this filter. * @param messageFilter The message filter I am updating. * @param properties New filter information (ie, bookmark=345). */ public void setNewFilterProperties(BaseMessageFilter messageFilter, Object[][] mxProperties, Map<String, Object> propFilter) { super.setNewFilterProperties(messageFilter, mxProperties, propFilter); // Does nothing. try { if (messageFilter.isUpdateRemoteFilter()) // Almost always true if (messageFilter.getRemoteFilterID() != null) // If the remote filter exists m_receiveQueue.updateRemoteFilterProperties(messageFilter, mxProperties, propFilter); } catch (RemoteException ex) { ex.printStackTrace(); } } /**
Object[][] propIn = (Object[][])this.getNextObjectParam(in, PROPERTIES, properties); Map<String,Object> propFilter = this.getNextPropertiesParam(in, MAP, properties); ((RemoteReceiveQueue)m_remoteObject).updateRemoteFilterProperties(messageFilter, propIn, propFilter);