steinard
07-19-2007, 01:29 PM
Hi!
I'm configuring the NmsTemplate (thourgh DI) and by looking at all the tests it seems like the DefaultDestination property (if not specified) is always somehow set to queue. How can I through configuration set this to be a topic?
In code, the default destination could be specified like this:
IDestination outDestination = session.GetTopic("topic.name");
Thanks,
Steinar.
I'm configuring the NmsTemplate (thourgh DI) and by looking at all the tests it seems like the DefaultDestination property (if not specified) is always somehow set to queue. How can I through configuration set this to be a topic?
In code, the default destination could be specified like this:
IDestination outDestination = session.GetTopic("topic.name");
Thanks,
Steinar.