JMS Clients External to a Cell

Based on a true story:

Let’s say that you’ve developed an ESB mediation module that exposes a JMS or SOAP/JMS interface via an export, and deployed it to your server. You’re writing a client to make requests to this export. Because you’re feeling lazy, you decide to use the connection factories that are automatically created for the export’s use, rather than create your own (which you should really do, particularly in a production environment). If your client is running of outside the cell that contains your server, this won’t work – you’ll get an error message when you try to connect. You will need to find the ‘Provider endpoints’ field for the connection factory in question in the administrative console, and add in hostnameofserver:7276 (assuming you are using the default port number). You’ll then need to save your changes and restart the server. Magic! It works.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: