@Override
    public void put(String key, String value) {
        // Assume any header property that begins with 'Camel' is for internal use
        if (!key.startsWith("Camel")) {
            this.map.put(encodeDash(key), value);
        }
    }
@Test
    public void putProperties() {
        CamelMessagingHeadersInjectAdapter adapter = new CamelMessagingHeadersInjectAdapter(map, true);
        adapter.put("key1", "value1");
        adapter.put("key2", "value2");
        adapter.put("key1", "value3");
        assertEquals("value3", map.get("key1"));
        assertEquals("value2", map.get("key2"));
    }