I am attempting to create a channel for calling a WCF service using netMessagingBinding against an on-premise Service Bus queue. I want to be able to pass an issued token with my message, so I try to create the channel using the CreateChannelWithIssuedToken method. This fails with a NullReferenceException, seemingly because there is no ChannelParameterCollection property on the channel (this is WCF internals).
It seems my scenario is not supported, and that there is no way to configure message security using netMessagingBinding.
Is there a way to set up a custom binding using netMessagingBindingTransport to pass an issued token to a WCF service? Are there other options to consider?