robotlegs/robotlegs-framework — Issue #68: Message Command Map issue
Author: 2morrowMan
Created: 2012-02-13 18:19:49+00:00
State: open

Mapping:

```
messageCommandMap
.map( LoginMessage )
.toCommand( LoginCommand );
```

#1. works fine for:

```
messageDispatcher.dispatchMessage( LoginMessage );
```

#2. but does not work for:

```
messageDispatcher.dispatchMessage( new LoginMessage( userName, userPass ) );
```

How to map LoginMessage to work with sample #2?