Starbucks Sample version 2.6.5--having trouble getting it hooked up

23 views
Skip to first unread message

JR VanMechelen

unread,
Jun 18, 2013, 10:54:45 AM6/18/13
to masstrans...@googlegroups.com
I can compile the Starbucks sample, but I can't get it to run properly. My customer pumps out messages, but the messages aren't picked up by any of the services. All messages from the customer seem to go into an outgoing queue, 235.109.116.115:7784. That IP is hard-coded in the MassTransit source. On the theory that this is trying to send messages to a machine that isn't here, I tried replacing it the following and with several variants:

  sbc.UseMsmq(z => z.UseMulticastSubscriptionClient(y => y.SetMulticastAddress("msmq://127.0.0.1:7784/")));

This naïve solution only made MassTransit angry:

StructureMap Exception Code:  207
Internal exception while creating Instance 'f1e9cfe7-562a-4228-b378-111e18d1a1f5' of PluginType MassTransit.IServiceBus, MassTransit, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null.  Check the inner exception for more details.

The inner exception:

{"An exception was thrown during service bus creation"}

There aren't any configuration files in the sample, and I'm having a hard time finding examples of how to configure this sample.

JR

Dru Sellers

unread,
Jun 18, 2013, 10:58:54 AM6/18/13
to masstrans...@googlegroups.com
do you have MSMQ + Multicast installed?

do the logs say anything?

-d




JR

--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/043dbd65-d9f6-46a0-9b20-663d6fc01ccc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jon Ceanfaglione

unread,
Jun 18, 2013, 11:01:09 AM6/18/13
to masstrans...@googlegroups.com

Check the property oage of your queues and make sure you have a multi cast tab.  If not, the msmq multicast feature needs to be installed.

--

JR VanMechelen

unread,
Jun 18, 2013, 12:07:00 PM6/18/13
to masstrans...@googlegroups.com
If I did, it would just work, wouldn't it. I had MSMQ installed, but not Multicast. PBCAK. Thanks.

BTW it looks to me like it should be possible to determine programatically whether MSMQ & Multicast is installed: http://blogs.msdn.com/b/johnbreakwell/archive/2008/05/14/how-to-tell-if-msmq-is-installed.aspx. It strikes me as a nice-to-have feature.

JR


On Tuesday, June 18, 2013 10:58:54 AM UTC-4, Dru wrote:
do you have MSMQ + Multicast installed?

do the logs say anything?

-d
On Tue, Jun 18, 2013 at 9:54 AM, JR VanMechelen <jrvj...@gmail.com> wrote:
I can compile the Starbucks sample, but I can't get it to run properly. My customer pumps out messages, but the messages aren't picked up by any of the services. All messages from the customer seem to go into an outgoing queue, 235.109.116.115:7784. That IP is hard-coded in the MassTransit source. On the theory that this is trying to send messages to a machine that isn't here, I tried replacing it the following and with several variants:

  sbc.UseMsmq(z => z.UseMulticastSubscriptionClient(y => y.SetMulticastAddress("msmq://127.0.0.1:7784/")));

This naïve solution only made MassTransit angry:

StructureMap Exception Code:  207
Internal exception while creating Instance 'f1e9cfe7-562a-4228-b378-111e18d1a1f5' of PluginType MassTransit.IServiceBus, MassTransit, Version=2.7.0.0, Culture=neutral, PublicKeyToken=null.  Check the inner exception for more details.

The inner exception:

{"An exception was thrown during service bus creation"}

There aren't any configuration files in the sample, and I'm having a hard time finding examples of how to configure this sample.


JR

--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.

Travis Smith

unread,
Jun 18, 2013, 12:19:31 PM6/18/13
to masstrans...@googlegroups.com
I think we have a validation method, you just have to call it during setup. Also one for MSMQ installation. 

-Travis


To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.

To post to this group, send email to masstrans...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages