diff --git a/README.md b/README.md index 93fd2d0..10b979b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ SolaceMessagingInfo solacemessaging = (SolaceMessagingInfo) cloud.getServiceInfo // Setting up the JCSMP Connection final JCSMPProperties props = new JCSMPProperties(); -props.setProperty(JCSMPProperties.HOST, solacemessaging.getSmfUri()); +props.setProperty(JCSMPProperties.HOST, solacemessaging.getSmfHost()); props.setProperty(JCSMPProperties.VPN_NAME, solacemessaging.getMsgVpnName()); props.setProperty(JCSMPProperties.USERNAME, solacemessaging.getClientUsername()); props.setProperty(JCSMPProperties.PASSWORD, solacemessaging.getClientPassword());