@Test public void testSetMetadataKey() { MetadataCorrelationIdSource mcs = new MetadataCorrelationIdSource(); assertEquals(null, mcs.getMetadataKey()); try { mcs.setMetadataKey(""); fail(); } catch (IllegalArgumentException e) { } mcs.setMetadataKey(CORRELATIONID_KEY); assertEquals(CORRELATIONID_KEY, mcs.getMetadataKey()); }
public void setMetadataKey(String s) { metadataKey = Args.notBlank(s, "metadata-key"); }
MetadataCorrelationIdSource implements CorrelationIdSource { public void setMetadataKey(String s) { metadataKey = Args.notBlank(s, "metadata-key"); } }
MetadataCorrelationIdSource implements CorrelationIdSource { public void setMetadataKey(String s) { metadataKey = Args.notBlank(s, "metadata-key"); } MetadataCorrelationIdSource();  MetadataCorrelationIdSource(String key); }
MetadataCorrelationIdSource implements CorrelationIdSource { public void setMetadataKey(String s) { metadataKey = Args.notBlank(s, "metadata-key"); } MetadataCorrelationIdSource();  MetadataCorrelationIdSource(String key); @Override void processCorrelationId(AdaptrisMessage src, Message dest); @Override void processCorrelationId(Message src, AdaptrisMessage dest); String getMetadataKey(); void setMetadataKey(String s); }
MetadataCorrelationIdSource implements CorrelationIdSource { public void setMetadataKey(String s) { metadataKey = Args.notBlank(s, "metadata-key"); } MetadataCorrelationIdSource();  MetadataCorrelationIdSource(String key); @Override void processCorrelationId(AdaptrisMessage src, Message dest); @Override void processCorrelationId(Message src, AdaptrisMessage dest); String getMetadataKey(); void setMetadataKey(String s);  }