You can do #[exception.causedBy]
like
<choice-exception-strategy>
<catch-exception-strategy when="exception.causedBy(com.company.BusinessException)"> <!-- [1] -->
<jms:outbound-endpoint queue="dead.letter">
<jms:transaction action="ALWAYS_JOIN" />
</jms:outbound-endpoint>
</catch-exception-strategy>
<rollback-exception-strategy when="exception.causedBy(com.company.NonBusinessException)"> <!-- [2] -->
<logger level="ERROR" message="Payload failing: #[payload]"/>
</rollback-exception-strategy>
</choice-exception-strategy>
More details here