You can't configure the connector to use tempDir only on inbound or outbound - it is all or nothing at the moment. Also, if the tempDir attribute is used on the connector the temp directory will ge the same name on both inbound and outbound.
Suggestion: Split the attribute "tempDir" on the connector into "tempDirInbound" and "tempDirOutbound"