class PortfolioManagementUserListener {

    @EventHandler
    public void on(UserCreatedEvent event) {
        logger.debug("About to dispatch a new command to create a Portfolio for the new user {}", event.getUserId());
        commandGateway.send(new CreatePortfolioCommand(new PortfolioId(), event.getUserId()));
    }

    @Autowired public  PortfolioManagementUserListener(CommandGateway commandGateway);

}