Search:

Type: Posts; User: mberg; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    5
    Views
    445

    Hello Gary, Apologies for not using the...

    Hello Gary,

    Apologies for not using the correct terminology, I realize the difference between a queue and a channel.

    Regarding the limit on the queue, I can see now how this limit is irrelevant...
  2. Replies
    5
    Views
    445

    Hello Gary, When I said that "capacity is...

    Hello Gary,

    When I said that "capacity is ignored", I meant that my gateway method is able to post millions of messages to the channel. It doesn't stop when there are 100 messages on the queue.
    ...
  3. Replies
    5
    Views
    445

    How to set ActiveMQ capacity

    Hello all,

    I have a scenario where a client application sends messages to activeMQ using Spring Integration. I have some processors that consume these messages, but they are not quite fast enough...
  4. I don't see how adding another generic type would...

    I don't see how adding another generic type would make Spring more happy?

    Anyway I solved the problem by creating a new class that extends CaseInsensitiveMap, and provides a type for the generic...
  5. Creating a map with gives "type must not be null" exception?

    Given an xml context containing this:


    <util:map id="myMap" map-class="com.myproduct.CaseInsensitiveMap">
    <entry key="key" value="value"></entry>
    </util:map>

    And the CaseInsensitiveMap...
  6. Replies
    3
    Views
    320

    I didn't realize that caching connections meant...

    I didn't realize that caching connections meant that the connection would keep the process running after the main code was done. I imagined it was sort of like caching database connections.

    The...
  7. Replies
    3
    Views
    320

    JMS client never terminates

    Hi all,

    I have a JMS client that uses Spring Integration and an <int-jms:outbound-gateway> to talk to an ActiveMQ server. My client code is able to send a request to the gateway proxy, and get a...
  8. Replies
    4
    Views
    576

    Yes I have the management ui running, it's been...

    Yes I have the management ui running, it's been quite handy.

    There might be some configuration differences, but really these are two Rabbit instances that are basically installed and run without...
  9. Replies
    4
    Views
    576

    Messages not getting sent - driving me nuts

    Hello all,

    I have a small test client which I use to send messages to RabbitMQ. Messages are sent using a spring created gateway proxy, which sends the message to a channel, which the gateway then...
  10. Okay, I fixed the above by introducing an Admin...

    Okay, I fixed the above by introducing an Admin interface in my code, which is then initialized by a messaging-specific implementation. This way the coupling is minimal.
  11. If I have to get a reference to the RabbitAdmin...

    If I have to get a reference to the RabbitAdmin instance in my code, in order to call initialize() on it, I'll be creating a fairly strong coupling to RabbitMQ inside my code. I would like to avoid...
  12. Well, this would require the customer/end user to...

    Well, this would require the customer/end user to do some manual configuration which we want to avoid if at all possible. But even if we decided to add the configuration to rabbitmq.config, it would...
  13. Because when the application starts up, RabbitMQ...

    Because when the application starts up, RabbitMQ may not yet be available. The application is designed to start up and allow a user, through interaction, to start the messaging services.

    I just...
  14. BlockingQueueConsumer fails because of missing queue in RabbitMQ

    Hi,

    I have an application that consumes messages from RabbitMQ. Here is the basic XML configuration:

    <rabbit:admin connection-factory="connectionFactory" auto-startup="false" />
    ...
  15. Replies
    3
    Views
    908

    Hello Mark, Option 1 sounds like it might be...

    Hello Mark,

    Option 1 sounds like it might be the best way to go. But how do I get the messages back to the producer/client? In my scenario the client has a Future<xxx> that it obtained from the...
  16. Replies
    3
    Views
    908

    I should also mention that I am using an async...

    I should also mention that I am using an async gateway, meaning the client servicegateway is defined to return a Future<x>. As the client is waiting in the future.get() call, the server is running...
  17. Replies
    3
    Views
    908

    Exception causes infinite loop

    Hello,

    I have a client talking to a server via Spring Integration/AMQP and RabbitMQ. The client uses an amqp:outbound-gateway and the server uses an amqp:inbound-gateway configuration.

    When the...
  18. Replies
    7
    Views
    409

    Well, if I make the assumption that what I get...

    Well, if I make the assumption that what I get back from a <rabbit:connection-factory> is an instance of AbstractConnectionFactory (the ConnectionFactory has no setter methods), I can set the...
  19. Replies
    7
    Views
    409

    (The reason for having both an rcf declaration...

    (The reason for having both an rcf declaration and the rabbit:connection-factory tag is because I wanted the convenience and readability of the namespace tag but also the ability to set explicit...
  20. Replies
    7
    Views
    409

    The rcf instance is initialized like this: ...

    The rcf instance is initialized like this:


    <bean id="rcf" class="com.rabbitmq.client.ConnectionFactory">
    <property name="requestedHeartbeat" value="10"/>
    </bean>
    ...
  21. Replies
    7
    Views
    409

    Thanks Mark, now my gateway doesn't start...

    Thanks Mark, now my gateway doesn't start automatically.

    However, I also need to be able to set the connection parameters before starting the gateway. When I use the following Spring config, it...
  22. Replies
    7
    Views
    409

    Automatic startup of incoming gateway

    Hello,

    I have an Amqp gateway server application based on a mix of annotations and xml configuration. As soon as the application starts and Spring gets initialized, it connects to RabbitMQ and my...
  23. Replies
    1
    Views
    475

    Okay, this turned out to be much simpler than I...

    Okay, this turned out to be much simpler than I made it into .. :-)

    I just added "myproduct-key-*" as mapped-request-headers on the inbound and outbound gateways and voila everything worked as I...
  24. Replies
    1
    Views
    475

    Custom AMQP header mapper

    Hello all,

    I have a scenario where a client is posting a message to RabbitMQ which my server is getting though the use of an <int-amqp:inbound-gateway>.

    I have been using the...
  25. Replies
    17
    Views
    1,499

    Adding the mapping solved the problem. I guess...

    Adding the mapping solved the problem. I guess everything is working as it should now, thanks for your help Gary and Mark :-)
Results 1 to 25 of 38
Page 1 of 2 1 2