activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stynor <sty...@gmail.com>
Subject Re: Apache.NMS.WCF developers?
Date Wed, 27 Feb 2013 23:13:17 GMT
Its either that, or bitrot has set in and the code - which appears to be
almost 5 years old now. Perhaps it simply no longer works with modern
versions of .NET?   Since I can't find any documentation, or examples or
unit tests I really don't know where to start.  I scraped together a working
fire-and-forget client by using the config example from that stackoverflow
code and massaging it a bit.  However that leaves me with a way to send
messages but not receive them. 


jgomes wrote
> Full disclosure on my side - I am a .NET developer, but I haven't used the
> WCF bindings.  :-)
> 
> From the message text in the exception being thrown, my first guess is
> that
> there is some kind of configuration setting that is missing.  It reads
> like
> it is trying to enforce/protect the WCF communication model.


FWIW, my current app.config: 


<?xml version="1.0"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>

  <system.serviceModel>
    <extensions>
      <bindingExtensions>
        <add name="nmsBinding"
             type="Apache.NMS.WCF.NmsBindingCollection, Apache.NMS.WCF,
Version=1.6.0.2979, Culture=neutral, PublicKeyToken=82756feee3957618"

                 />
      </bindingExtensions>
    </extensions>
    
    <bindings>
      <nmsBinding>
        <binding
            name="NMS.queue.test1"
            destination="queue.test1"
            destinationType="Queue"
                >
        </binding>
      </nmsBinding>
    </bindings>
    <client>
      <endpoint 
          address="tcp://10.28.21.101:61616" 
                binding="nmsBinding" 
                bindingConfiguration="NMS.queue.test1"
        contract="FFServiceReference.FireAndForgetTestPortType"
name="AccessHostedService" >
      </endpoint>
    </client>
 
    <services>
      <service name="test_ff_dotnet.Receiver">
        <endpoint 
          address="tcp://10.28.21.101:61616" 
                binding="nmsBinding" 
                bindingConfiguration="NMS.queue.test1"
       contract="FFServiceReference.FireAndForgetTestPortType"
name="AccessHostedService" >
        </endpoint>
      </service>
    </services>

  </system.serviceModel>

</configuration>





--
View this message in context: http://activemq.2283324.n4.nabble.com/Apache-NMS-WCF-developers-tp4664174p4664228.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message