Announcement Announcement Module
Collapse
No announcement yet.
spring config/channel error/error handler Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    sorry guys I know this is frustrating and I really appreciate the help. Looks like spring-rabbit 1.0.0.RC2 may not pull amqp-client:

    version for both is 1.0.0.RC2

    <dependency>
    <groupId>org.springframework.amqp</groupId>
    <artifactId>spring-amqp</artifactId>
    <version>${org.springframework.amqp.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.amqp</groupId>
    <artifactId>spring-rabbit</artifactId>
    <version>${org.springframework.rabbit.version}</version>
    </dependency>

    if left like this amqp-client does not end up in my class path. Looks like if I manually add:
    <dependency>
    <groupId>com.rabbitmq</groupId>
    <artifactId>amqp-client</artifactId>
    <version>${com.rabbitmq.version}</version>
    </dependency>

    everything works

    Comment


    • #32
      Both of these are in the POM for spring-rabbit, so everything should definitely be on the classpath if you only add spring-rabbit explicitly (I just verified with our helloworld sample):
      Code:
      <dependency>
          <groupId>com.rabbitmq</groupId>
          <artifactId>amqp-client</artifactId>
      </dependency>
      
      <dependency>
          <groupId>org.springframework.amqp</groupId>
          <artifactId>spring-amqp</artifactId>
      </dependency>

      Comment


      • #33
        Originally posted by slyfox View Post
        Looks like if I manually add:
        <dependency>
        <groupId>com.rabbitmq</groupId>
        <artifactId>amqp-client</artifactId>
        <version>${com.rabbitmq.version}</version>
        </dependency>

        everything works
        What version of Maven are you using? We use 2.2.1 and whatever version of 3.0 is in STS. Both of those work for me.

        Comment

        Working...
        X