Transformation logic in Message Broker is implemented in message flows using various nodes like Compute, Mapping, or Java nodes. Message flows contain the actual processing logic that transforms, routes, and manipulates messages as they pass through the broker. Message Sets define structure, not transformation logic.