Custom Transport Handlers in AEM 6
Hi,
System has custom transport handler that handles content transportation to the external system. This code was working on 5.5. Stopped working on the AEM 6.
It's created by implements TransportHandler
@Component(immediate = true, metatype = false)@Service(TransportHandler.class)
The problem we are facing at the moment is that public boolean canHandle(AgentConfig agentConfig) { method is not being invoked during the replication. Instead the default Transport handler is being invoked.
How can do I force CQ to use our custom TransportHandler implementation instead of the standard one ?
By running debug log level on com.day.cq.replication.impl.transport
We can see that ServiceTracker, has bound TransporHandler.
We can also see that the invoked class is still com.day.cq.replication.impl.transport.Http
Thanks,
Peter
