nservicebus - Publisher messages not reaching subscriber -
publisher config
<!-- 1. in order configure remote endpoints use format: "queue@machine" 2. input queue must on same machine process feeding off of it. 3. error queue can (and should) on different machine. 4. community edition doesn't support more 1 worker thread. --> <msmqtransportconfig inputqueue="homeofficepublisherqueue" errorqueue="error" numberofworkerthreads="1" maxretries="5" usejournalqueue="true" /> <dbsubscriptionstorageconfig> <nhibernateproperties> <add key="connection.provider" value="nhibernate.connection.driverconnectionprovider"/> <add key="connection.driver_class" value="nhibernate.driver.sqlclientdriver"/> <add key="connection.connection_string" value="server=<dbserver>\corpdev;initial catalog=nservicebus;integrated security=sspi"/> <add key="dialect" value="nhibernate.dialect.mssql2005dialect"/> </nhibernateproperties> </dbsubscriptionstorageconfig> <unicastbusconfig distributorcontroladdress="" distributordataaddress="" forwardreceivedmessagesto=""> <messageendpointmappings> </messageendpointmappings> </unicastbusconfig> </configuration>
subscriber config
<?xml version="1.0" encoding="utf-8" ?> <configuration> <configsections> <section name="msmqtransportconfig" type="nservicebus.config.msmqtransportconfig, nservicebus.core" /> <section name="unicastbusconfig" type="nservicebus.config.unicastbusconfig, nservicebus.core" /> </configsections> <!-- 1. in order configure remote endpoints use format: "queue@machine" 2. input queue must on same machine process feeding off of it. 3. error queue can (and should) on different machine. 4. community edition doesn't support more 1 worker thread. --> <msmqtransportconfig inputqueue="vw_1140@<subscriberserver>" errorqueue="error" numberofworkerthreads="1" maxretries="5" usejournalqueue="true" /> <unicastbusconfig> <messageendpointmappings> <add messages="message" endpoint="homeofficepublisherqueue@<publisherserver>" /> </messageendpointmappings> </unicastbusconfig> </configuration>
when run pub , sub diffrent machines, messages publisher don't reach subscriber. if run them on same machine work fine.
=> publisher running on machine , publisher queue created locally.
same
=> machine on subscriber running.
the profile production , there no exception in log file.
any clues why messages getting dropped. thsnks help...
check internal outbound queue on publisher. if see messages there means can't communicate subscriber. means may not have msdtc running or security msdtc not correctly configured. make sure have "allow inbound" , "allow outbound" set in msdtc security settings.
Comments
Post a Comment