Fixed error. Started with integration.xml file. Only added inbound gateway.