mulesoft/mule-devkit — Issue #106: @Configurable @Default values not working in @Modules when two configs are present in the same mule-config.xml
Author: marianocapurro
Created: 2012-02-27 01:47:21+00:00
State: open
Labels: BUG

If I have the following definition in the ```@Module```

```java
/**
* Data type of key1
*/
@Configurable
@Optional
@Default("STRING")
private KeyType key1Type;

/**
* Data type of key2
*/
@Configurable
@Optional
@Default("STRING")
private KeyType key2Type;
```

when configuring two instances of this module in the same mule-config.xml file like:

```xml

```

the default values are not loaded. You need to set them explicitely:

```xml

```

Everything works fine if you only have ONE `````` element.