Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] RabbitMq Connection

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] RabbitMq Connection


Chronological Thread 
  • From: "Gettes, Michael" <>
  • To: Jeff <>
  • Cc: "" <>
  • Subject: Re: [grouper-users] RabbitMq Connection
  • Date: Sun, 17 Mar 2019 00:10:33 +0000

My guest user has a scrambled password so it cannot be used.

My grouper.client.properties:

grouper.messaging.system.rabbitmqSystem.name = rabbitmqSystem
grouper.messaging.system.rabbitmqSystem.class =
edu.internet2.middleware.grouperMessagingRabbitmq.GrouperMessagingRabbitmqSystem
grouper.messaging.system.rabbitmqSystem.host = HOSTNAME
grouper.messaging.system.rabbitmqSystem.virtualhost = /
grouper.messaging.system.rabbitmqSystem.port = 5672
grouper.messaging.system.rabbitmqSystem.defaultPageSize = 200
grouper.messaging.system.rabbitmqSystem.maxPageSize = 1000
grouper.messaging.system.rabbitmqSystem.username = grouper
grouper.messaging.system.rabbitmqSystem.password = XXXXX

My grouper-loader.properties:

changeLog.consumer.rabbit.quartzCron = 2/5 * * * * ?

changeLog.consumer.rabbit.class =
edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer
changeLog.consumer.rabbit.publisher.class =
edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbMessagingPublisher
changeLog.consumer.rabbit.publisher.messagingSystemName = rabbitmqSystem
changeLog.consumer.rabbit.publisher.queueOrTopicName = amq.topic
changeLog.consumer.rabbit.publisher.messageQueueType = topic
changeLog.consumer.rabbit.publisher.exchangeType = topic
changeLog.consumer.rabbit.regexRoutingKeyReplacementDefinition =
${groupName.replaceAll(":", ".")}

> On Mar 16, 2019, at 8:02 PM, Jeff <> wrote:
>
> Hey Guys,
>
> I've been using the updated rabbitmq messaging integration on latest version
> of 2.4 for the last several weeks in test. The support for exchanges and
> ability to manipulate the routing key is working great! As I move towards
> production I've run into a snag. For some reason, it is always connecting
> as
> the default username/password ('guest').
>
> I've tried updating my grouper.client.properties to:
>
> grouper.messaging.system.rabbitmq.user = grouper
> grouper.messaging.system.rabbitmq.password = testpassword
>
> also tried:
>
> grouper.messaging.system.rabbitmqSystem.user = grouper
> grouper.messaging.system.rabbitmqSystem.password = testpassword
>
> Neither seem to make a difference. I'm using the TIER containers and am
> able
> to log into the container to verify it is using my updated property files.
> The rabbitmq 'grouper' user is setup. Could the resource file
> (grouper.client.rabbitMq.example.properties) be overwriting my properties?
> Anyone else running into the same issue? Something I'm missing?
>
> My grouper-loader and grouper.client config below
>
> Thanks,
>
> Jeff Ruch
> Colorado State University
>
> ----------------------- grouper.client.properties ------------------
>
> grouper.messaging.default.name.of.messaging.system = rabbitmq
> edu.internet2.middleware.grouper.messaging.GrouperBuiltinMessagingSystem
> grouper.messaging.system.rabbitmqSystem.name = rabbitmqSystem
> grouper.messaging.system.rabbitmqSystem.class =
> edu.internet2.middleware.grouperMessagingRabbitmq.GrouperMessagingRabbitmqSystem
> grouper.messaging.system.rabbitmqSystem.host = rabbitmq
> grouper.messaging.system.rabbitmqSystem.defaultPageSize = 10
> grouper.messaging.system.rabbitmqSystem.maxPageSize = 50
> grouper.messaging.system.rabbitmq.name = rabbitmq
> grouper.messaging.system.rabbitmq.defaultSystemName = rabbitmqSystem
> grouper.messaging.system.rabbitmq.user = grouper
> grouper.messaging.system.rabbitmq.password = guest
> grouper.messaging.system.rabbitmqSystem.user = grouper
> grouper.messaging.system.rabbitmqSystem.password = guest
>
> ----------------------- grouper-loader.properties ------------------
>
> changeLog.consumer.esbAmqp.class =
> edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbConsumer
> changeLog.consumer.esbAmqp.quartzCron = 0 * * * * ?
> changeLog.consumer.esbAmqp.elfilter = event.eventType eq 'MEMBERSHIP_DELETE'
> || event.eventType eq 'MEMBERSHIP_ADD'
> changeLog.consumer.esbAmqp.publisher.class =
> edu.internet2.middleware.grouper.changeLog.esb.consumer.EsbMessagingPublisher
> changeLog.consumer.esbAmqp.publisher.messagingSystemName = rabbitmq
> changeLog.consumer.esbAmqp.replaceRoutingKeyColonsWithPeriods = true
> changeLog.consumer.esbAmqp.publisher.messageQueueType = topic
> changeLog.consumer.esbAmqp.publisher.queueOrTopicName = grouper
> changeLog.consumer.esbAmqp.publisher.exchangeType = TOPIC
>
>




Archive powered by MHonArc 2.6.19.

Top of Page