I've determined that the reason lies in the SecurityConfigurationAware
class on this line:
var busConfig = config as RhinoServiceBusConfiguration;
if (busConfig == null)
return;
meaning that only a RhinoServiceBusConfiguration can be cast and all others
will be null.
In the meantime, I modified the source code to see if the type is either a
onewaybusconfiguration or a rhinoservicebusconfiguration. If anything else,
return. Are there any unintended consequences of doing this?
On Tuesday, December 10, 2013 10:57:58 AM UTC-5, Matty M wrote:
>
> I'm trying to implement encryption on a OneWayBus, but it doesn't encrypt
> the messages unless I insert the following code:
>
> new RhinoServiceBusConfiguration().UseUnity(Container).Configure();
>
> (this also means I have to add the bus element to the config file).
>
>
> I can't figure out how to make encryption work on a OneWayBus without
> this. Any help would be appreciated!
>
>
> Thanks!
>
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rhino-tools-dev.
For more options, visit https://groups.google.com/groups/opt_out.